summaryrefslogtreecommitdiff
path: root/src/citra
diff options
context:
space:
mode:
authorGravatar wwylele2017-04-17 11:49:04 +0300
committerGravatar wwylele2017-04-17 14:14:35 +0300
commit4ad82f2e5afb5bb73b19749e010dcef4148443be (patch)
tree1c77da816d1ac78721e80ea8a3aec94988a009f9 /src/citra
parentMerge pull request #2659 from MerryMage/dsp_dsp-correction (diff)
downloadyuzu-4ad82f2e5afb5bb73b19749e010dcef4148443be.tar.gz
yuzu-4ad82f2e5afb5bb73b19749e010dcef4148443be.tar.xz
yuzu-4ad82f2e5afb5bb73b19749e010dcef4148443be.zip
input_common/sdl: add support for binding button to axis
Diffstat (limited to 'src/citra')
-rw-r--r--src/citra/default_ini.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/citra/default_ini.h b/src/citra/default_ini.h
index 084372df4..d8a8fe44f 100644
--- a/src/citra/default_ini.h
+++ b/src/citra/default_ini.h
@@ -19,7 +19,13 @@ const char* sdl2_config_file = R"(
19# - "joystick": the index of the joystick to bind 19# - "joystick": the index of the joystick to bind
20# - "button"(optional): the index of the button to bind 20# - "button"(optional): the index of the button to bind
21# - "hat"(optional): the index of the hat to bind as direction buttons 21# - "hat"(optional): the index of the hat to bind as direction buttons
22# - "axis"(optional): the index of the axis to bind
22# - "direction"(only used for hat): the direction name of the hat to bind. Can be "up", "down", "left" or "right" 23# - "direction"(only used for hat): the direction name of the hat to bind. Can be "up", "down", "left" or "right"
24# - "threshould"(only used for axis): a float value in (-1.0, 1.0) which the button is
25# triggered if the axis value crosses
26# - "direction"(only used for axis): "+" means the button is triggered when the axis value
27# is greater than the threshold; "-" means the button is triggered when the axis value
28# is smaller than the threshold
23button_a= 29button_a=
24button_b= 30button_b=
25button_x= 31button_x=