summaryrefslogtreecommitdiff
path: root/src/citra/default_ini.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/citra/default_ini.h')
-rw-r--r--src/citra/default_ini.h69
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
9const char* sdl2_config_file = R"( 9const char* sdl2_config_file = R"(
10[Controls] 10[Controls]
11pad_start = 11# The input devices and parameters for each 3DS native input
12pad_select = 12# It should be in the format of "engine:[engine_name],[param1]:[value1],[param2]:[value2]..."
13pad_home = 13# Escape characters $0 (for ':'), $1 (for ',') and $2 (for '$') can be used in values
14pad_dup = 14
15pad_ddown = 15# for button input, the following devices are avaible:
16pad_dleft = 16# - "keyboard" (default) for keyboard input. Required parameters:
17pad_dright = 17# - "code": the code of the key to bind
18pad_a = 18# - "sdl" for joystick input using SDL. Required parameters:
19pad_b = 19# - "joystick": the index of the joystick to bind
20pad_x = 20# - "button"(optional): the index of the button to bind
21pad_y = 21# - "hat"(optional): the index of the hat to bind as direction buttons
22pad_l = 22# - "direction"(only used for hat): the direction name of the hat to bind. Can be "up", "down", "left" or "right"
23pad_r = 23button_a=
24pad_zl = 24button_b=
25pad_zr = 25button_x=
26pad_cup = 26button_y=
27pad_cdown = 27button_up=
28pad_cleft = 28button_down=
29pad_cright = 29button_left=
30pad_circle_up = 30button_right=
31pad_circle_down = 31button_l=
32pad_circle_left = 32button_r=
33pad_circle_right = 33button_start=
34pad_circle_modifier = 34button_select=
35 35button_zl=
36# The applied modifier scale to circle pad. 36button_zr=
37# Must be in range of 0.0-1.0. Defaults to 0.5 37button_home=
38pad_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)
50circle_pad=
51c_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