summaryrefslogtreecommitdiffstats
path: root/ctrlr/slikstik.cfg
blob: 42456f31d80434d972cc7230a8483dfe1e3992a9 (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
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
301
302
303
304
<mameconfig version="10">
	<system name="default">

		<!-- 
			SlikStik input customization file
			Revision 2.0 - 5/28/02
			- Swapped Player 2 Up/Down (R/F) to be consistent with the MAME std
			  (Note: SlikStik is being changed to match, but any existing units may
			   experience problems - swap KEYCODE_R & KEYCODE_F definitions to correct)
			- Changed the mapping for Service1 from KEYCODE_9 to KEYCODE_8.  KEYCODE_9
			  is mapped on the SlikStik as P1_BUTTON3 which creates problems.
		-->
		
		<input>
			<port type="UI_PAUSE">
				<newseq type="standard">KEYCODE_P</newseq>
			</port>

			<port type="UI_UP">
				<newseq type="standard">KEYCODE_UP OR JOYCODE_1_YAXIS_UP_SWITCH</newseq>
			</port>
			<port type="UI_DOWN">
				<newseq type="standard">KEYCODE_DOWN OR JOYCODE_1_YAXIS_DOWN_SWITCH</newseq>
			</port>
			<port type="UI_LEFT">
				<newseq type="standard">KEYCODE_LEFT OR JOYCODE_1_XAXIS_LEFT_SWITCH</newseq>
			</port>
			<port type="UI_RIGHT">
				<newseq type="standard">KEYCODE_RIGHT OR JOYCODE_1_XAXIS_RIGHT_SWITCH</newseq>
			</port>
			<port type="UI_SELECT">
				<newseq type="standard">KEYCODE_7 OR KEYCODE_ENTER OR JOYCODE_1_BUTTON1</newseq>
			</port>

			<port type="UI_CONFIGURE">
				<newseq type="standard">KEYCODE_TAB OR KEYCODE_1 KEYCODE_5</newseq>
			</port>
			<port type="UI_CANCEL">
				<newseq type="standard">KEYCODE_ESC OR KEYCODE_2 KEYCODE_6</newseq>
			</port>

			<port type="START1">
				<newseq type="standard">KEYCODE_1 OR JOYCODE_1_START</newseq>
			</port>
			<port type="START2">
				<newseq type="standard">KEYCODE_2 OR JOYCODE_2_START</newseq>
			</port>
			<port type="COIN1">
				<newseq type="standard">KEYCODE_5 OR JOYCODE_1_SELECT</newseq>
			</port>
			<port type="COIN2">
				<newseq type="standard">KEYCODE_6 OR JOYCODE_2_SELECT</newseq>
			</port>
			<port type="COIN3">
				<newseq type="standard">JOYCODE_3_SELECT</newseq>
			</port>
			<port type="COIN4">
				<newseq type="standard">JOYCODE_4_SELECT</newseq>
			</port>

			<port type="SERVICE1">
				<newseq type="standard">KEYCODE_8</newseq>
			</port>

			<port type="P1_JOYSTICK_UP">
				<newseq type="standard">KEYCODE_UP OR JOYCODE_1_YAXIS_UP_SWITCH</newseq>
			</port>
			<port type="P1_JOYSTICK_DOWN">
				<newseq type="standard">KEYCODE_DOWN OR JOYCODE_1_YAXIS_DOWN_SWITCH</newseq>
			</port>
			<port type="P1_JOYSTICK_LEFT">
				<newseq type="standard">KEYCODE_LEFT OR JOYCODE_1_XAXIS_LEFT_SWITCH</newseq>
			</port>
			<port type="P1_JOYSTICK_RIGHT">
				<newseq type="standard">KEYCODE_RIGHT OR JOYCODE_1_XAXIS_RIGHT_SWITCH</newseq>
			</port>
			<port type="P1_BUTTON1">
				<newseq type="standard">KEYCODE_7 OR JOYCODE_1_BUTTON1 OR MOUSECODE_1_BUTTON1</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">KEYCODE_H OR JOYCODE_1_BUTTON2 OR KEYCODE_L</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_9 OR JOYCODE_1_BUTTON3 OR MOUSECODE_1_BUTTON2</newseq>
			</port>
			<port type="P1_BUTTON4">
				<newseq type="standard">KEYCODE_0 OR JOYCODE_1_BUTTON4</newseq>
			</port>
			<port type="P1_BUTTON5">
				<newseq type="standard">KEYCODE_Z OR JOYCODE_1_BUTTON5</newseq>
			</port>
			<port type="P1_BUTTON6">
				<newseq type="standard">KEYCODE_X OR JOYCODE_1_BUTTON6</newseq>
			</port>
			<port type="P1_BUTTON7">
				<newseq type="standard">KEYCODE_LSHIFT</newseq>
			</port>
			<port type="P1_JOYSTICKRIGHT_UP">
				<newseq type="standard">KEYCODE_R OR JOYCODE_1_BUTTON2</newseq>
			</port>
			<port type="P1_JOYSTICKRIGHT_DOWN">
				<newseq type="standard">KEYCODE_F OR JOYCODE_1_BUTTON3</newseq>
			</port>
			<port type="P1_JOYSTICKRIGHT_LEFT">
				<newseq type="standard">KEYCODE_D OR JOYCODE_1_BUTTON1</newseq>
			</port>
			<port type="P1_JOYSTICKRIGHT_RIGHT">
				<newseq type="standard">KEYCODE_G OR JOYCODE_1_BUTTON4</newseq>
			</port>
			<port type="P1_JOYSTICKLEFT_UP">
				<newseq type="standard">KEYCODE_UP OR JOYCODE_1_YAXIS_UP_SWITCH</newseq>
			</port>
			<port type="P1_JOYSTICKLEFT_DOWN">
				<newseq type="standard">KEYCODE_DOWN OR JOYCODE_1_YAXIS_DOWN_SWITCH</newseq>
			</port>
			<port type="P1_JOYSTICKLEFT_LEFT">
				<newseq type="standard">KEYCODE_LEFT OR JOYCODE_1_XAXIS_LEFT_SWITCH</newseq>
			</port>
			<port type="P1_JOYSTICKLEFT_RIGHT">
				<newseq type="standard">KEYCODE_RIGHT OR JOYCODE_1_XAXIS_RIGHT_SWITCH</newseq>
			</port>

			<port type="P2_JOYSTICK_UP">
				<newseq type="standard">KEYCODE_R OR JOYCODE_2_UP</newseq>
			</port>
			<port type="P2_JOYSTICK_DOWN">
				<newseq type="standard">KEYCODE_F OR JOYCODE_2_DOWN</newseq>
			</port>
			<port type="P2_JOYSTICK_LEFT">
				<newseq type="standard">KEYCODE_D OR JOYCODE_2_LEFT</newseq>
			</port>
			<port type="P2_JOYSTICK_RIGHT">
				<newseq type="standard">KEYCODE_G OR JOYCODE_2_RIGHT</newseq>
			</port>
			<port type="P2_BUTTON1">
				<newseq type="standard">KEYCODE_A OR JOYCODE_2_BUTTON1</newseq>
			</port>
			<port type="P2_BUTTON2">
				<newseq type="standard">KEYCODE_S OR JOYCODE_2_BUTTON2</newseq>
			</port>
			<port type="P2_BUTTON3">
				<newseq type="standard">KEYCODE_Q OR JOYCODE_2_BUTTON3</newseq>
			</port>
			<port type="P2_BUTTON4">
				<newseq type="standard">KEYCODE_W OR JOYCODE_2_BUTTON4</newseq>
			</port>
			<port type="P2_BUTTON5">
				<newseq type="standard">KEYCODE_I OR JOYCODE_2_BUTTON5</newseq>
			</port>
			<port type="P2_BUTTON6">
				<newseq type="standard">KEYCODE_K OR JOYCODE_2_BUTTON6</newseq>
			</port>
			<port type="P2_BUTTON7">
				<newseq type="standard">KEYCODE_RSHIFT</newseq>
			</port>
		</input>
	</system>
	
	
	<system name="asteroid">
		<!--
			This entry remaps the standard keys used for the Asteroids controls
			P1_JOYSTICK_LEFT  - "Rotate Left"
			P1_JOYSTICK_RIGHT - "Rotate Right"       (L) (R)     (T) (F)
			P1_BUTTON1        - "Fire"                           
			P1_BUTTON2        - "Thrust"                     (H)
			P1_BUTTON3        - "HyperSpace"

			This setup supports the standard layout for Asteroids.  The two blue 
			buttons in the upper left control rotation (left/right).  Of the two
			buttons in the upper right, the left is mapped as the Thrust button and
			the right is mapped as the Fire button.  The fifth lower blue button is
			mapped as HyperSpace.  To maintain compatability with the standard 
			configuration, the standard joystick and mouse mappings are also 
			included.
		-->

		<input>
			<port type="P1_JOYSTICK_LEFT">
				<newseq type="standard">KEYCODE_LEFT       OR JOYCODE_1_XAXIS_LEFT_SWITCH    OR KEYCODE_0</newseq>
			</port>
			<port type="P1_JOYSTICK_RIGHT">
				<newseq type="standard">KEYCODE_RIGHT      OR JOYCODE_1_XAXIS_RIGHT_SWITCH   OR KEYCODE_Z</newseq>
			</port>
			<port type="P1_BUTTON1">
				<newseq type="standard">KEYCODE_H          OR JOYCODE_1_BUTTON1 OR MOUSECODE_1_BUTTON1</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">KEYCODE_7          OR JOYCODE_1_BUTTON2 OR KEYCODE_L</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_9          OR JOYCODE_1_BUTTON3 OR MOUSECODE_1_BUTTON2</newseq>
			</port>
		</input>
	</system>


	<system name="missile">
		<!--
			This entry remaps the keys used for the three bases
			P1_BUTTON1 - left base
			P1_BUTTON2 - middle base
			P1_BUTTON3 - right base

			This setup supports either the three buttons to the right of the trackball
			or the three lower buttons next to the left joystick.  The first three
			buttons on a standard joystick are also included to maintain compatability
			with the standard configuration.
		-->

		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">KEYCODE_0 OR JOYCODE_1_BUTTON1 OR MOUSECODE_1_BUTTON1</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">KEYCODE_Z OR JOYCODE_1_BUTTON2 OR KEYCODE_L</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_X OR JOYCODE_1_BUTTON3 OR MOUSECODE_1_BUTTON2</newseq>
			</port>
		</input>
	</system>


	<system name="neogeo">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">KEYCODE_LSHIFT     OR JOYCODE_1_BUTTON1</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">KEYCODE_0          OR JOYCODE_1_BUTTON2</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_Z          OR JOYCODE_1_BUTTON3</newseq>
			</port>
			<port type="P1_BUTTON4">
				<newseq type="standard">KEYCODE_X          OR JOYCODE_1_BUTTON4</newseq>
			</port>
			<port type="P1_BUTTON5">
				<newseq type="standard">NONE</newseq>
			</port>
			<port type="P1_BUTTON6">
				<newseq type="standard">NONE</newseq>
			</port>
			<port type="P1_BUTTON7">
				<newseq type="standard">NONE</newseq>
			</port>
			<port type="P1_BUTTON8">
				<newseq type="standard">NONE</newseq>
			</port>
			<port type="P2_BUTTON1">
				<newseq type="standard">KEYCODE_RSHIFT     OR JOYCODE_2_BUTTON1</newseq>
			</port>
			<port type="P2_BUTTON2">
				<newseq type="standard">KEYCODE_W          OR JOYCODE_2_BUTTON2</newseq>
			</port>
			<port type="P2_BUTTON3">
				<newseq type="standard">KEYCODE_I          OR JOYCODE_2_BUTTON3</newseq>
			</port>
			<port type="P2_BUTTON4">
				<newseq type="standard">KEYCODE_K          OR JOYCODE_2_BUTTON4</newseq>
			</port>
			<port type="P2_BUTTON5">
				<newseq type="standard">NONE</newseq>
			</port>
			<port type="P2_BUTTON6">
				<newseq type="standard">NONE</newseq>
			</port>
			<port type="P2_BUTTON7">
				<newseq type="standard">NONE</newseq>
			</port>
			<port type="P2_BUTTON8">
				<newseq type="standard">NONE</newseq>
			</port>
		</input>
	</system>


	<system name="tempest">
		<!--
			This entry remaps the standard keys used for the Tempest controls
			P1_BUTTON1 - "Fire"
			P1_BUTTON2 - "Super Zapper"

			This setup supports either the two blue buttons to the left of the spinner,
			the first two buttons (upper left) next to the left joystick or the first
			two buttons next to the trackball.  The first two buttons on a standard 
			joystick are also included to maintain compatability with the standard
			configuration.  In all cases, the left button is always considered the
			first or "Fire" button and the right is considered the second or "Super
			Zapper" button.
		-->

		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">KEYCODE_7 OR JOYCODE_1_BUTTON1 OR MOUSECODE_1_BUTTON1 OR KEYCODE_0</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">KEYCODE_H OR JOYCODE_1_BUTTON2 OR KEYCODE_L           OR KEYCODE_Z</newseq>
			</port>
		</input>
	</system>

</mameconfig>