forked from xemu-project/xemu
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config_spec.yml
255 lines (249 loc) · 4.89 KB
/
config_spec.yml
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
general:
show_welcome:
type: bool
default: true
updates:
check:
type: bool
default: true
screenshot_dir: string
skip_boot_anim: bool
# throttle_io: bool
last_viewed_menu_index: integer
user_token: string
snapshots:
shortcuts:
f5: string
f6: string
f7: string
f8: string
filter_current_game: bool
input:
bindings:
port1: string
port2: string
port3: string
port4: string
peripherals:
port1:
peripheral_type_0: integer
peripheral_param_0: string
peripheral_type_1: integer
peripheral_param_1: string
port2:
peripheral_type_0: integer
peripheral_param_0: string
peripheral_type_1: integer
peripheral_param_1: string
port3:
peripheral_type_0: integer
peripheral_param_0: string
peripheral_type_1: integer
peripheral_param_1: string
port4:
peripheral_type_0: integer
peripheral_param_0: string
peripheral_type_1: integer
peripheral_param_1: string
gamecontrollerdb_path: string
auto_bind:
type: bool
default: true
background_input_capture: bool
keyboard_controller_scancode_map:
# Scancode reference : https://github.com/libsdl-org/SDL/blob/main/include/SDL_scancode.h
a:
type: integer
default: 4 # a
b:
type: integer
default: 5 # b
x:
type: integer
default: 27 # x
y:
type: integer
default: 28 # y
dpad_left:
type: integer
default: 80 # left
dpad_up:
type: integer
default: 82 # up
dpad_right:
type: integer
default: 79 # right
dpad_down:
type: integer
default: 81 # down
back:
type: integer
default: 42 # backspace
start:
type: integer
default: 40 # return
white:
type: integer
default: 30 # 1
black:
type: integer
default: 31 # 2
lstick_btn:
type: integer
default: 32 # 3
rstick_btn:
type: integer
default: 33 # 4
guide:
type: integer
default: 34 # 5
lstick_up:
type: integer
default: 8 # e
lstick_left:
type: integer
default: 22 # s
lstick_right:
type: integer
default: 9 # f
lstick_down:
type: integer
default: 7 # d
ltrigger:
type: integer
default: 26 # w
rstick_up:
type: integer
default: 12 # i
rstick_left:
type: integer
default: 13 # j
rstick_right:
type: integer
default: 15 # l
rstick_down:
type: integer
default: 14 # k
rtrigger:
type: integer
default: 18 # w
display:
quality:
surface_scale:
type: integer
default: 1
window:
fullscreen_on_startup: bool
fullscreen_exclusive: bool
startup_size:
type: enum
values: [last_used, 640x480, 1280x720, 1280x800, 1280x960, 1920x1080, 2560x1440, 2560x1600, 2560x1920, 3840x2160]
default: 1280x960
last_width:
type: integer
default: 640
last_height:
type: integer
default: 480
vsync:
type: bool
default: true
ui:
show_menubar:
type: bool
default: true
show_notifications:
type: bool
default: true
hide_cursor:
type: bool
default: true
use_animations:
type: bool
default: true
fit:
type: enum
values: [center, scale, stretch]
default: scale
aspect_ratio:
type: enum
values: [native, auto, 4x3, 16x9]
default: auto
scale:
type: integer
default: 1
auto_scale:
type: bool
default: true
debug:
video:
transparency:
type: bool
default: false
x_pos:
type: number
default: 100.0
y_pos:
type: number
default: 100.0
x_winsize:
type: number
default: 600.0
y_winsize:
type: number
default: 150.0
advanced_tree_state:
type: bool
default: false
audio:
use_dsp: bool
volume_limit:
type: number
default: 1
net:
enable: bool
backend:
type: enum
values: [nat, udp, pcap]
default: nat
pcap:
netif: string
udp:
bind_addr:
type: string
default: 0.0.0.0:9368
remote_addr:
type: string
default: 1.2.3.4:9368
nat:
forward_ports:
type: array
items:
host: integer
guest: integer
protocol:
type: enum
values: [tcp, udp]
default: tcp
sys:
mem_limit:
type: enum
values: ['64', '128']
default: '64'
avpack:
type: enum
values: [scart, hdtv, vga, rfu, svideo, composite, none]
default: hdtv
files:
bootrom_path: string
flashrom_path: string
eeprom_path: string
hdd_path: string
dvd_path: string
perf:
hard_fpu:
type: bool
default: true
cache_shaders:
type: bool
default: true