-
Notifications
You must be signed in to change notification settings - Fork 16
/
input.psr
300 lines (284 loc) · 6.8 KB
/
input.psr
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
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
;Copyright (C) 1997-2008 ZSNES Team ( zsKnight, _Demo_, pagefault, Nach )
;
;http://www.zsnes.com
;http://sourceforge.net/projects/zsnes
;https://zsnes.bountysource.com
;
;This program is free software; you can redistribute it and/or
;modify it under the terms of the GNU General Public License
;version 2 as published by the Free Software Foundation.
;
;This program is distributed in the hope that it will be useful,
;but WITHOUT ANY WARRANTY; without even the implied warranty of
;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;GNU General Public License for more details.
;
;You should have received a copy of the GNU General Public License
;along with this program; if not, write to the Free Software
;Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
@ PSR-produced config file (stock default in CAPS)
@
@ Note, if you're worried you messed up a setting, removing the line will have
@ ZSNES use the default settings for that option.
@ The next time ZSNES is run, the line will reappear with the default settings.
@
@ ----
@ -- Input --
@ ----
@
@ Player 1 Input
%ifdef __MSDOS__
@ Input Device: 0 = Unplugged, 1 = KEYBOARD, 2 = 2-button pad, 3 = 4-button pad
@ 4 = 6-button pad, 5 = 8-button pad, 6-9 = Sidewinder #1-4
@ 10-11 = Gamepad Pro #0-1, 12-16 = Parallel Port LPT1 #1-5
%else
@ Input Device: 0 = Unplugged, 1 = KEYBOARD/GAMEPAD
%endif
pl1contrl db 1
@ Keys for Select, Start, Up, Down, Left, Right, X, A, L, Y, B, R
pl1selk dd 54
pl1startk dd 28
%ifdef __MSDOS__
pl1upk dd 72
pl1downk dd 80
pl1leftk dd 75
pl1rightk dd 77
%elifdef __UNIXSDL__
pl1upk dd 90
pl1downk dd 96
pl1leftk dd 92
pl1rightk dd 94
%elifdef __WIN32__
pl1upk dd 200
pl1downk dd 208
pl1leftk dd 203
pl1rightk dd 205
%endif
pl1Xk dd 31
pl1Ak dd 45
pl1Lk dd 32
pl1Yk dd 30
pl1Bk dd 44
pl1Rk dd 46
@ Turbo Keys for A, B, X, Y, L, R
pl1Atk dd 0
pl1Btk dd 0
pl1Xtk dd 0
pl1Ytk dd 0
pl1Ltk dd 0
pl1Rtk dd 0
@ Diagonal Keys for Up-Left, Up-Right, Down-Left, Down-Right
pl1ULk dd 0
pl1URk dd 0
pl1DLk dd 0
pl1DRk dd 0
%ifdef __MSDOS__
@ Use Port 209h (0 = NO, 1 = Yes)
@ Enable if your gameport requires said resource.
pl1p209 db 0
%endif
@
@ Player 2
%ifdef __MSDOS__
@ Input Device: 0 = UNPLUGGED, 1 = Keyboard, 2 = 2-button pad, 3 = 4-button pad
@ 4 = 6-button pad, 5 = 8-button pad, 6-9 = Sidewinder #1-4
@ 10-11 = Gamepad Pro #0-1, 12-16 = Parallel Port LPT1 #1-5
%else
@ Input Device: 0 = UNPLUGGED, 1 = Keyboard/Gamepad
%endif
pl2contrl db 0
@ Keys for Select, Start, Up, Down, Left, Right, X, A, L, Y, B, R
pl2selk dd 0
pl2startk dd 0
pl2upk dd 0
pl2downk dd 0
pl2leftk dd 0
pl2rightk dd 0
pl2Xk dd 0
pl2Ak dd 0
pl2Lk dd 0
pl2Yk dd 0
pl2Bk dd 0
pl2Rk dd 0
@ Turbo Keys for A, B, X, Y, L, R
pl2Atk dd 0
pl2Btk dd 0
pl2Xtk dd 0
pl2Ytk dd 0
pl2Ltk dd 0
pl2Rtk dd 0
@ Diagonal Keys for Up-Left, Up-Right, Down-Left, Down-Right
pl2ULk dd 0
pl2URk dd 0
pl2DLk dd 0
pl2DRk dd 0
%ifdef __MSDOS__
@ Use Port 209h (0 = NO, 1 = Yes)
@ Enable if your gameport requires said resource.
pl2p209 db 0
%endif
@
@ Player 3
%ifdef __MSDOS__
@ Input Device: 0 = UNPLUGGED, 1 = Keyboard, 2 = 2-button pad, 3 = 4-button pad
@ 4 = 6-button pad, 5 = 8-button pad, 6-9 = Sidewinder #1-4
@ 10-11 = Gamepad Pro #0-1, 12-16 = Parallel Port LPT1 #1-5
%else
@ Input Device: 0 = UNPLUGGED, 1 = Keyboard/Gamepad
%endif
pl3contrl db 0
@ Keys for Select, Start, Up, Down, Left, Right, X, A, L, Y, B, R
pl3selk dd 0
pl3startk dd 0
pl3upk dd 0
pl3downk dd 0
pl3leftk dd 0
pl3rightk dd 0
pl3Xk dd 0
pl3Ak dd 0
pl3Lk dd 0
pl3Yk dd 0
pl3Bk dd 0
pl3Rk dd 0
@ Turbo Keys for A, B, X, Y, L, R
pl3Atk dd 0
pl3Btk dd 0
pl3Xtk dd 0
pl3Ytk dd 0
pl3Ltk dd 0
pl3Rtk dd 0
@ Diagonal Keys for Up-Left, Up-Right, Down-Left, Down-Right
pl3ULk dd 0
pl3URk dd 0
pl3DLk dd 0
pl3DRk dd 0
%ifdef __MSDOS__
@ Use Port 209h (0 = NO, 1 = Yes)
@ Enable if your gameport requires said resource.
pl3p209 db 0
%endif
@
@ Player 4
%ifdef __MSDOS__
@ Input Device: 0 = UNPLUGGED, 1 = Keyboard, 2 = 2-button pad, 3 = 4-button pad
@ 4 = 6-button pad, 5 = 8-button pad, 6-9 = Sidewinder #1-4
@ 10-11 = Gamepad Pro #0-1, 12-16 = Parallel Port LPT1 #1-5
%else
@ Input Device: 0 = UNPLUGGED, 1 = Keyboard/Gamepad
%endif
pl4contrl db 0
@ Keys for Select, Start, Up, Down, Left, Right, X, A, L, Y, B, R
pl4selk dd 0
pl4startk dd 0
pl4upk dd 0
pl4downk dd 0
pl4leftk dd 0
pl4rightk dd 0
pl4Xk dd 0
pl4Ak dd 0
pl4Lk dd 0
pl4Yk dd 0
pl4Bk dd 0
pl4Rk dd 0
@ Turbo Keys for A, B, X, Y, L, R
pl4Atk dd 0
pl4Btk dd 0
pl4Xtk dd 0
pl4Ytk dd 0
pl4Ltk dd 0
pl4Rtk dd 0
@ Diagonal Keys for Up-Left, Up-Right, Down-Left, Down-Right
pl4ULk dd 0
pl4URk dd 0
pl4DLk dd 0
pl4DRk dd 0
%ifdef __MSDOS__
@ Use Port 209h (0 = NO, 1 = Yes)
@ Enable if your gameport requires said resource.
pl4p209 db 0
%endif
@
@ Player 5
%ifdef __MSDOS__
@ Input Device: 0 = UNPLUGGED, 1 = Keyboard, 2 = 2-button pad, 3 = 4-button pad
@ 4 = 6-button pad, 5 = 8-button pad, 6-9 = Sidewinder #1-4
@ 10-11 = Gamepad Pro #0-1, 12-16 = Parallel Port LPT1 #1-5
%else
@ Input Device: 0 = UNPLUGGED, 1 = Keyboard/Gamepad
%endif
pl5contrl db 0
@ Keys for Select, Start, Up, Down, Left, Right, X, A, L, Y, B, R
pl5selk dd 0
pl5startk dd 0
pl5upk dd 0
pl5downk dd 0
pl5leftk dd 0
pl5rightk dd 0
pl5Xk dd 0
pl5Ak dd 0
pl5Lk dd 0
pl5Yk dd 0
pl5Bk dd 0
pl5Rk dd 0
@ Turbo Keys for A, B, X, Y, L, R
pl5Atk dd 0
pl5Btk dd 0
pl5Xtk dd 0
pl5Ytk dd 0
pl5Ltk dd 0
pl5Rtk dd 0
@ Diagonal Keys for Up-Left, Up-Right, Down-Left, Down-Right
pl5ULk dd 0
pl5URk dd 0
pl5DLk dd 0
pl5DRk dd 0
%ifdef __MSDOS__
@ Use Port 209h (0 = NO, 1 = Yes)
@ Enable if your gameport requires said resource.
pl5p209 db 0
%endif
%ifndef __MSDOS__
@
@ Joystick Sensitivity [0..32767]
@ Change this value if you have input issues. Higher value = less sensitive.
@ If your joystick is not being read at all, try 128 or other low values.
joy_sensitivity dw 16384
%endif
%ifdef __WIN32__
@
@ Mouse Sensitivity [1..255]
@ Only change this value to lower the mouse movement speed on certain mice
@ The mouse speed will be lowered by a factor of the entered number
MouseSensitivity db 1
%endif
%ifdef __MSDOS__
@
@ Enable Sidewinder Fix (0 = NO, 1 = Yes)
@ Enable this if the Sidewinder is still not detected properly.
SidewinderFix db 0
%endif
@
@ Share Player 3 & 4 Control Inputs w/Player 1 & 2 (0 = DISABLE, 1 = Enable)
@ Allow 2 devices to be used for one player
@ (enabling this disables Multiplayer 5 support).
pl12s34 db 0
@
@ Allow Up+Down and Left+Right Pad Input (0 = NO, 1 = Yes)
AllowUDLR db 0
@
@ Turbo Keys Equal 30 Presses/sec Instead of 60 (0 = No, 1 = YES)
Turbo30hz db 1
@
@ Left Handed Mouse Behavior for SNES Devices (0 = NO SWAP, 1 = Swap)
@ (swap left and right mouse buttons)
mouse1lh db 0 @First device
mouse2lh db 0 @Second device
@
@ Super Scope Buttons
SSAutoFire dd 13
SSPause dd 14
@
@ Port 1 and Port 2 device settings (0 = GAMEPAD, 1 = Mouse)
device1 db 0
@ (0 = GAMEPAD, 1 = Mouse, 2 = Super Scope, 3 = 1 Justifier, 4 = 2 Justifiers)
device2 db 0