diff options
Diffstat (limited to 'src')
| -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 { | |||
| 8 | 8 | ||
| 9 | const char* sdl2_config_file = R"( | 9 | const char* sdl2_config_file = R"( |
| 10 | [Controls] | 10 | [Controls] |
| 11 | pad_start = | 11 | # The input devices and parameters for each 3DS native input |
| 12 | pad_select = | 12 | # It should be in the format of "engine:[engine_name],[param1]:[value1],[param2]:[value2]..." |
| 13 | pad_home = | 13 | # Escape characters $0 (for ':'), $1 (for ',') and $2 (for '$') can be used in values |
| 14 | pad_dup = | 14 | |
| 15 | pad_ddown = | 15 | # for button input, the following devices are avaible: |
| 16 | pad_dleft = | 16 | # - "keyboard" (default) for keyboard input. Required parameters: |
| 17 | pad_dright = | 17 | # - "code": the code of the key to bind |
| 18 | pad_a = | 18 | # - "sdl" for joystick input using SDL. Required parameters: |
| 19 | pad_b = | 19 | # - "joystick": the index of the joystick to bind |
| 20 | pad_x = | 20 | # - "button"(optional): the index of the button to bind |
| 21 | pad_y = | 21 | # - "hat"(optional): the index of the hat to bind as direction buttons |
| 22 | pad_l = | 22 | # - "direction"(only used for hat): the direction name of the hat to bind. Can be "up", "down", "left" or "right" |
| 23 | pad_r = | 23 | button_a= |
| 24 | pad_zl = | 24 | button_b= |
| 25 | pad_zr = | 25 | button_x= |
| 26 | pad_cup = | 26 | button_y= |
| 27 | pad_cdown = | 27 | button_up= |
| 28 | pad_cleft = | 28 | button_down= |
| 29 | pad_cright = | 29 | button_left= |
| 30 | pad_circle_up = | 30 | button_right= |
| 31 | pad_circle_down = | 31 | button_l= |
| 32 | pad_circle_left = | 32 | button_r= |
| 33 | pad_circle_right = | 33 | button_start= |
| 34 | pad_circle_modifier = | 34 | button_select= |
| 35 | 35 | button_zl= | |
| 36 | # The applied modifier scale to circle pad. | 36 | button_zr= |
| 37 | # Must be in range of 0.0-1.0. Defaults to 0.5 | 37 | button_home= |
| 38 | pad_circle_modifier_scale = | 38 | |
| 39 | # for analog input, the following devices are avaible: | ||
| 40 | # - "analog_from_button" (default) for emulating analog input from direction buttons. Required parameters: | ||
| 41 | # - "up", "down", "left", "right": sub-devices for each direction. | ||
| 42 | # Should be in the format as a button input devices using escape characters, for example, "engine$0keyboard$1code$00" | ||
| 43 | # - "modifier": sub-devices as a modifier. | ||
| 44 | # - "modifier_scale": a float number representing the applied modifier scale to the analog input. | ||
| 45 | # Must be in range of 0.0-1.0. Defaults to 0.5 | ||
| 46 | # - "sdl" for joystick input using SDL. Required parameters: | ||
| 47 | # - "joystick": the index of the joystick to bind | ||
| 48 | # - "axis_x": the index of the axis to bind as x-axis (default to 0) | ||
| 49 | # - "axis_y": the index of the axis to bind as y-axis (default to 1) | ||
| 50 | circle_pad= | ||
| 51 | c_stick= | ||
| 39 | 52 | ||
| 40 | [Core] | 53 | [Core] |
| 41 | # Whether to use the Just-In-Time (JIT) compiler for CPU emulation | 54 | # Whether to use the Just-In-Time (JIT) compiler for CPU emulation |