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
8d3f48d0
There was an error fetching the commit references. Please try again later.
Commit
8d3f48d0
authored
7 years ago
by
danzel
Browse files
Options
Downloads
Patches
Plain Diff
Fix some spelling mistakes
parent
9f6868ad
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/citra/default_ini.h
+3
-3
3 additions, 3 deletions
src/citra/default_ini.h
src/input_common/sdl/sdl.cpp
+1
-1
1 addition, 1 deletion
src/input_common/sdl/sdl.cpp
with
4 additions
and
4 deletions
src/citra/default_ini.h
+
3
−
3
View file @
8d3f48d0
...
@@ -12,7 +12,7 @@ const char* sdl2_config_file = R"(
...
@@ -12,7 +12,7 @@ const char* sdl2_config_file = R"(
# It should be in the format of "engine:[engine_name],[param1]:[value1],[param2]:[value2]..."
# It should be in the format of "engine:[engine_name],[param1]:[value1],[param2]:[value2]..."
# Escape characters $0 (for ':'), $1 (for ',') and $2 (for '$') can be used in values
# Escape characters $0 (for ':'), $1 (for ',') and $2 (for '$') can be used in values
# for button input, the following devices are avaible:
# for button input, the following devices are avai
la
ble:
# - "keyboard" (default) for keyboard input. Required parameters:
# - "keyboard" (default) for keyboard input. Required parameters:
# - "code": the code of the key to bind
# - "code": the code of the key to bind
# - "sdl" for joystick input using SDL. Required parameters:
# - "sdl" for joystick input using SDL. Required parameters:
...
@@ -21,7 +21,7 @@ const char* sdl2_config_file = R"(
...
@@ -21,7 +21,7 @@ const char* sdl2_config_file = R"(
# - "hat"(optional): the index of the hat to bind as direction buttons
# - "hat"(optional): the index of the hat to bind as direction buttons
# - "axis"(optional): the index of the axis to bind
# - "axis"(optional): the index of the axis to bind
# - "direction"(only used for hat): the direction name of the hat to bind. Can be "up", "down", "left" or "right"
# - "direction"(only used for hat): the direction name of the hat to bind. Can be "up", "down", "left" or "right"
# - "thresho
u
ld"(only used for axis): a float value in (-1.0, 1.0) which the button is
# - "threshold"(only used for axis): a float value in (-1.0, 1.0) which the button is
# triggered if the axis value crosses
# triggered if the axis value crosses
# - "direction"(only used for axis): "+" means the button is triggered when the axis value
# - "direction"(only used for axis): "+" means the button is triggered when the axis value
# is greater than the threshold; "-" means the button is triggered when the axis value
# is greater than the threshold; "-" means the button is triggered when the axis value
...
@@ -42,7 +42,7 @@ button_zl=
...
@@ -42,7 +42,7 @@ button_zl=
button_zr=
button_zr=
button_home=
button_home=
# for analog input, the following devices are avaible:
# for analog input, the following devices are avai
la
ble:
# - "analog_from_button" (default) for emulating analog input from direction buttons. Required parameters:
# - "analog_from_button" (default) for emulating analog input from direction buttons. Required parameters:
# - "up", "down", "left", "right": sub-devices for each direction.
# - "up", "down", "left", "right": sub-devices for each direction.
# Should be in the format as a button input devices using escape characters, for example, "engine$0keyboard$1code$00"
# Should be in the format as a button input devices using escape characters, for example, "engine$0keyboard$1code$00"
...
...
This diff is collapsed.
Click to expand it.
src/input_common/sdl/sdl.cpp
+
1
−
1
View file @
8d3f48d0
...
@@ -159,7 +159,7 @@ public:
...
@@ -159,7 +159,7 @@ public:
* - "axis"(optional): the index of the axis to bind
* - "axis"(optional): the index of the axis to bind
* - "direction"(only used for hat): the direction name of the hat to bind. Can be "up",
* - "direction"(only used for hat): the direction name of the hat to bind. Can be "up",
* "down", "left" or "right"
* "down", "left" or "right"
* - "thresho
u
ld"(only used for axis): a float value in (-1.0, 1.0) which the button is
* - "threshold"(only used for axis): a float value in (-1.0, 1.0) which the button is
* triggered if the axis value crosses
* triggered if the axis value crosses
* - "direction"(only used for axis): "+" means the button is triggered when the axis value
* - "direction"(only used for axis): "+" means the button is triggered when the axis value
* is greater than the threshold; "-" means the button is triggered when the axis value
* is greater than the threshold; "-" means the button is triggered when the axis value
...
...
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