From 4ad82f2e5afb5bb73b19749e010dcef4148443be Mon Sep 17 00:00:00 2001 From: wwylele Date: Mon, 17 Apr 2017 11:49:04 +0300 Subject: input_common/sdl: add support for binding button to axis --- src/citra/default_ini.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/citra/default_ini.h') 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"( # - "joystick": the index of the joystick to bind # - "button"(optional): the index of the button to bind # - "hat"(optional): the index of the hat to bind as direction buttons +# - "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" +# - "threshould"(only used for axis): a float value in (-1.0, 1.0) which the button is +# triggered if the axis value crosses +# - "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 smaller than the threshold button_a= button_b= button_x= -- cgit v1.2.3