aboutsummaryrefslogtreecommitdiff
path: root/CONFIG.md
blob: 9b60c6162bc243a80e26bb7f00b732a74f88373a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
## Config File

`Config.jsonc` should be present in executable folder. The available settings follow:

- `graphics_shaders_dump_path` *(string)*

  Dump shaders in local directory (e.g. `C:\ShaderDumps`)

- `logging_enable_debug` *(bool)*

  Enable the Debug Logging.

- `logging_enable_stub` *(bool)*

  Enable the Trace Logging.

- `logging_enable_info` *(bool)*

  Enable the Informations Logging.

- `logging_enable_warn` *(bool)*

  Enable the Warning Logging.

- `logging_enable_error` *(bool)*

  Enable the Error Logging.

- `enable_file_log` *(bool)*

  Enable writing the logging inside a Ryujinx.log file.

- `system_language` *(string)*

  Change System Language, [System Language list](https://gist.github.com/HorrorTroll/b6e4a88d774c3c9b3bdf54d79a7ca43b)

- `docked_mode` *(bool)*

  Enable or Disable Docked Mode

- `enable_vsync` *(bool)*

  Enable or Disable Game Vsync

- `enable_multicore_scheduling` *(bool)*

  Enable or Disable Multi-core scheduling of threads

- `enable_fs_integrity_checks` *(bool)*

  Enable integrity checks on Switch content files

- `controller_type` *(string)*

  The primary controller's type.
  Supported Values: `Handheld`, `ProController`, `NpadPair`, `NpadLeft`, `NpadRight`

- `keyboard_controls` *(object)* :
  - `left_joycon` *(object)* :
    Left JoyCon Keyboard Bindings
    - `stick_up` *(string)*
    - `stick_down` *(string)*
    - `stick_left` *(string)*
    - `stick_right` *(string)*
    - `stick_button` *(string)*
    - `dpad_up` *(string)*
    - `dpad_down` *(string)*
    - `dpad_left` *(string)*
    - `dpad_right` *(string)*
    - `button_minus` *(string)*
    - `button_l` *(string)*
    - `button_zl` *(string)*
  - `right_joycon` *(object)* :
    Right JoyCon Keyboard Bindings
    - `stick_up` *(string)*
    - `stick_down` *(string)*
    - `stick_left` *(string)*
    - `stick_right` *(string)*
    - `stick_button` *(string)*
    - `button_a` *(string)*
    - `button_b` *(string)*
    - `button_x` *(string)*
    - `button_y` *(string)*
    - `button_plus` *(string)*
    - `button_r` *(string)*
    - `button_zr` *(string)*

- `joystick_controls` *(object)* :
  - `enabled` *(bool)*
    Whether or not to enable Controller Support.
  - `index` *(int)*
    The index of the Controller Device.
  - `deadzone` *(number)*
    The deadzone of both analog sticks on the Controller.
  - `trigger_threshold` *(number)*
    The value of how pressed down each trigger has to be in order to register a button press
  - `left_joycon` *(object)* :
    Left JoyCon Controller Bindings
    - `stick` *(string)*
    - `stick_button` *(string)*
    - `dpad_up` *(string)*
    - `dpad_down` *(string)*
    - `dpad_left` *(string)*
    - `dpad_right` *(string)*
    - `button_minus` *(string)*
    - `button_l` *(string)*
    - `button_zl` *(string)*
  - `right_joycon` *(object)* :
  Right JoyCon Controller Bindings
    - `stick` *(string)*
    - `stick_button` *(string)*
    - `button_a` *(string)*
    - `button_b` *(string)*
    - `button_x` *(string)*
    - `button_y` *(string)*
    - `button_plus` *(string)*
    - `button_r` *(string)*
    - `button_zr` *(string)*
  
### Default Mapping.
   #### Controller
     - Left Joycon:
       - Analog Stick = Axis 0
	   - DPad Up = DPad Up #Hat0 Up
	   - DPad Down = DPad Down #Hat0 Down
	   - DPad Left = DPad Left #Hat0 Left
	   - DPad Right = DPad Right #Hat0 Right
	   - Minus = Button 10
	   - L = Button 6
	   - ZL = Button 8
	 
     - Right Joycon:
	   - Analog Stick = Axis 2
	   - A = Button 0
	   - B = Button 1
	   - X = Button 3
	   - Y = Button 4
	   - Plus = Button 11
	   - R = Button 7
	   - ZR = Button 9

   #### Keyboard
     - Left Joycon:
	   - Stick Up = W
	   - Stick Down = S
	   - Stick Left = A
	   - Stick Right = D
	   - Stick Button = F
	   - DPad Up = Up
	   - DPad Down = Down
	   - DPad Left = Left
	   - DPad Right = Right
	   - Minus = -
	   - L = E
	   - ZL = Q

     - Right Joycon:
	   - Stick Up = I
	   - Stick Down = K
	   - Stick Left = J
	   - Stick Right = L
	   - Stick Button = H
	   - A = Z
	   - B = X
	   - X = C
	   - Y = V
	   - Plus = +
	   - R = U
	   - ZR = O
  
### Valid Button Mappings.
  - Button# = A button on the controller. # should not exceed the max # of buttons detected on your controller.
  - Axis# = An analog axis on the controller. It can be a stick control, or a motion control axis.
  - Hat# = A Point of View (POV), Hat or Directional Pad control on the controller.

  Button configuration and controller capabilities differ from one controller to another. Please use a
  configuration tool to find out the actual button configuration of your controller.