Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Suyu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Suyu
Commits
8e2f62c6
There was an error fetching the commit references. Please try again later.
Commit
8e2f62c6
authored
7 years ago
by
bunnei
Browse files
Options
Downloads
Patches
Plain Diff
settings: Fix button mappings array to have correct entries.
parent
67c8b671
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/core/settings.h
+6
-2
6 additions, 2 deletions
src/core/settings.h
with
6 additions
and
2 deletions
src/core/settings.h
+
6
−
2
View file @
8e2f62c6
...
@@ -79,11 +79,16 @@ static const std::array<const char*, NumButtons> mapping = {{
...
@@ -79,11 +79,16 @@ static const std::array<const char*, NumButtons> mapping = {{
"button_lstick_up"
,
"button_lstick_up"
,
"button_lstick_right"
,
"button_lstick_right"
,
"button_lstick_down"
,
"button_lstick_down"
,
"button_rstick_left"
,
"button_rstick_up"
,
"button_rstick_right"
,
"button_rstick_down"
,
"button_sl"
,
"button_sl"
,
"button_sr"
,
"button_sr"
,
"button_home"
,
"button_home"
,
"button_screenshot"
,
"button_screenshot"
,
}};
}};
}
// namespace NativeButton
}
// namespace NativeButton
namespace
NativeAnalog
{
namespace
NativeAnalog
{
...
@@ -95,8 +100,7 @@ enum Values {
...
@@ -95,8 +100,7 @@ enum Values {
};
};
static
const
std
::
array
<
const
char
*
,
NumAnalogs
>
mapping
=
{{
static
const
std
::
array
<
const
char
*
,
NumAnalogs
>
mapping
=
{{
"lstick"
,
"lstick"
,
"rstick"
,
"rstick"
,
}};
}};
}
// namespace NativeAnalog
}
// namespace NativeAnalog
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment