diff options
author | wwylele <wwylele@gmail.com> | 2017-01-28 14:30:42 +0100 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2017-03-01 22:30:57 +0100 |
commit | 5a692ddaecd308c30a1466f6d0e4fb7f5243ccd1 (patch) | |
tree | 0dc94a8fc88fdd08523958954fa6d22ceae14986 /src/citra/default_ini.h | |
parent | Input: remove unused stuff & clean up (diff) | |
download | yuzu-5a692ddaecd308c30a1466f6d0e4fb7f5243ccd1.tar yuzu-5a692ddaecd308c30a1466f6d0e4fb7f5243ccd1.tar.gz yuzu-5a692ddaecd308c30a1466f6d0e4fb7f5243ccd1.tar.bz2 yuzu-5a692ddaecd308c30a1466f6d0e4fb7f5243ccd1.tar.lz yuzu-5a692ddaecd308c30a1466f6d0e4fb7f5243ccd1.tar.xz yuzu-5a692ddaecd308c30a1466f6d0e4fb7f5243ccd1.tar.zst yuzu-5a692ddaecd308c30a1466f6d0e4fb7f5243ccd1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/citra/default_ini.h | 69 |
1 files changed, 41 insertions, 28 deletions
diff --git a/src/citra/default_ini.h b/src/citra/default_ini.h index 435ba6f00..af9f7aa2a 100644 --- a/src/citra/default_ini.h +++ b/src/citra/default_ini.h @@ -8,34 +8,47 @@ namespace DefaultINI { const char* sdl2_config_file = R"( [Controls] -pad_start = -pad_select = -pad_home = -pad_dup = -pad_ddown = -pad_dleft = -pad_dright = -pad_a = -pad_b = -pad_x = -pad_y = -pad_l = -pad_r = -pad_zl = -pad_zr = -pad_cup = -pad_cdown = -pad_cleft = -pad_cright = -pad_circle_up = -pad_circle_down = -pad_circle_left = -pad_circle_right = -pad_circle_modifier = - -# The applied modifier scale to circle pad. -# Must be in range of 0.0-1.0. Defaults to 0.5 -pad_circle_modifier_scale = +# The input devices and parameters for each 3DS native input +# 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 + +# for button input, the following devices are avaible: +# - "keyboard" (default) for keyboard input. Required parameters: +# - "code": the code of the key to bind +# - "sdl" for joystick input using SDL. Required parameters: +# - "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 +# - "direction"(only used for hat): the direction name of the hat to bind. Can be "up", "down", "left" or "right" +button_a= +button_b= +button_x= +button_y= +button_up= +button_down= +button_left= +button_right= +button_l= +button_r= +button_start= +button_select= +button_zl= +button_zr= +button_home= + +# for analog input, the following devices are avaible: +# - "analog_from_button" (default) for emulating analog input from direction buttons. Required parameters: +# - "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" +# - "modifier": sub-devices as a modifier. +# - "modifier_scale": a float number representing the applied modifier scale to the analog input. +# Must be in range of 0.0-1.0. Defaults to 0.5 +# - "sdl" for joystick input using SDL. Required parameters: +# - "joystick": the index of the joystick to bind +# - "axis_x": the index of the axis to bind as x-axis (default to 0) +# - "axis_y": the index of the axis to bind as y-axis (default to 1) +circle_pad= +c_stick= [Core] # Whether to use the Just-In-Time (JIT) compiler for CPU emulation |