-
Notifications
You must be signed in to change notification settings - Fork 0
/
inputevents.def
executable file
·309 lines (265 loc) · 15.4 KB
/
inputevents.def
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
305
306
307
308
309
/* joystick/mouse port 1 */
DEFEVENT(JOYPORT1_START,"Joystick port 1", AM_INFO, 0,1,0)
DEFEVENT(MOUSE1_FIRST, "", AM_DUMMY, 0,0,0)
DEFEVENT(MOUSE1_HORIZ,"Mouse1 Horizontal",AM_MOUSE_AXIS|AM_JOY_AXIS,8,1,0)
DEFEVENT(MOUSE1_VERT,"Mouse1 Vertical",AM_MOUSE_AXIS|AM_JOY_AXIS,8,1,1)
DEFEVENT(MOUSE1_LAST, "", AM_DUMMY, 0,0,0)
DEFEVENT(MOUSE1_UP,"Mouse1 Up",AM_KEY|AM_JOY_BUT|AM_MOUSE_BUT,32,1,DIR_UP)
DEFEVENT(MOUSE1_DOWN,"Mouse1 Down",AM_KEY|AM_JOY_BUT|AM_MOUSE_BUT,32,1,DIR_DOWN)
DEFEVENT(MOUSE1_LEFT,"Mouse1 Left",AM_KEY|AM_JOY_BUT|AM_MOUSE_BUT,32,1,DIR_LEFT)
DEFEVENT(MOUSE1_RIGHT,"Mouse1 Right",AM_KEY|AM_JOY_BUT|AM_MOUSE_BUT,32,1,DIR_RIGHT)
DEFEVENT(MOUSE1_WHEEL,"Mouse1 Wheel",AM_MOUSE_AXIS|AM_JOY_AXIS,8,1,2)
DEFEVENT(JOY1_HORIZ,"Joy1 Horizontal",AM_JOY_AXIS,0,1,DIR_LEFT|DIR_RIGHT)
DEFEVENT(JOY1_VERT,"Joy1 Vertical",AM_JOY_AXIS,0,1,DIR_UP|DIR_DOWN)
DEFEVENT(JOY1_HORIZ_POT,"Joy1 Horizontal (Analog)",AM_JOY_AXIS,64,1,0)
DEFEVENT(JOY1_VERT_POT,"Joy1 Vertical (Analog)",AM_JOY_AXIS,64,1,1)
DEFEVENT(JOY1_LEFT,"Joy1 Left",AM_K,16,1,DIR_LEFT)
DEFEVENT(JOY1_RIGHT,"Joy1 Right",AM_K,16,1,DIR_RIGHT)
DEFEVENT(JOY1_UP,"Joy1 Up",AM_K,16,1,DIR_UP)
DEFEVENT(JOY1_DOWN,"Joy1 Down",AM_K,16,1,DIR_DOWN)
DEFEVENT(JOY1_LEFT_UP,"Joy1 Left+Up",AM_K,16,1,DIR_LEFT|DIR_UP)
DEFEVENT(JOY1_LEFT_DOWN,"Joy1 Left+Down",AM_K,16,1,DIR_LEFT|DIR_DOWN)
DEFEVENT(JOY1_RIGHT_UP,"Joy1 Right+Up",AM_K,16,1,DIR_RIGHT|DIR_UP)
DEFEVENT(JOY1_RIGHT_DOWN,"Joy1 Right+Down",AM_K,16,1,DIR_RIGHT|DIR_DOWN)
DEFEVENT(JOY1_FIRE_BUTTON,"Joy1 Fire/Mouse1 Left Button",AM_K,4,1,JOYBUTTON_1)
DEFEVENT(JOY1_2ND_BUTTON,"Joy1 2nd Button/Mouse1 Right Button",AM_K,4,1,JOYBUTTON_2)
DEFEVENT(JOY1_3RD_BUTTON,"Joy1 3rd Button/Mouse1 Middle Button",AM_K,4,1,JOYBUTTON_3)
DEFEVENT(JOY1_CD32_PLAY,"Joy1 CD32 Play",AM_K,4,1,JOYBUTTON_CD32_PLAY)
DEFEVENT(JOY1_CD32_RWD,"Joy1 CD32 RWD",AM_K,4,1,JOYBUTTON_CD32_RWD)
DEFEVENT(JOY1_CD32_FFW,"Joy1 CD32 FFW",AM_K,4,1,JOYBUTTON_CD32_FFW)
DEFEVENT(JOY1_CD32_GREEN,"Joy1 CD32 Green",AM_K,4,1,JOYBUTTON_CD32_GREEN)
DEFEVENT(JOY1_CD32_YELLOW,"Joy1 CD32 Yellow",AM_K,4,1,JOYBUTTON_CD32_YELLOW)
DEFEVENT(JOY1_CD32_RED,"Joy1 CD32 Red",AM_K,4,1,JOYBUTTON_CD32_RED)
DEFEVENT(JOY1_CD32_BLUE,"Joy1 CD32 Blue",AM_K,4,1,JOYBUTTON_CD32_BLUE)
/* joystick/mouse port 2 */
DEFEVENT(JOYPORT2_START,"Joystick port 2", AM_INFO, 0,2,0)
DEFEVENT(MOUSE2_FIRST, "", AM_DUMMY, 0,0,0)
DEFEVENT(MOUSE2_HORIZ,"Mouse2 Horizontal",AM_MOUSE_AXIS|AM_JOY_AXIS,8,2,0)
DEFEVENT(MOUSE2_VERT,"Mouse2 Vertical",AM_MOUSE_AXIS|AM_JOY_AXIS,8,2,1)
DEFEVENT(MOUSE2_LAST, "", AM_DUMMY, 0,0,0)
DEFEVENT(MOUSE2_UP,"Mouse2 Up",AM_KEY|AM_JOY_BUT|AM_MOUSE_BUT,32,2,DIR_UP)
DEFEVENT(MOUSE2_DOWN,"Mouse2 Down",AM_KEY|AM_JOY_BUT|AM_MOUSE_BUT,32,2,DIR_DOWN)
DEFEVENT(MOUSE2_LEFT,"Mouse2 Left",AM_KEY|AM_JOY_BUT|AM_MOUSE_BUT,32,2,DIR_LEFT)
DEFEVENT(MOUSE2_RIGHT,"Mouse2 Right",AM_KEY|AM_JOY_BUT|AM_MOUSE_BUT,32,2,DIR_RIGHT)
DEFEVENT(JOY2_HORIZ,"Joy2 Horizontal",AM_JOY_AXIS,0,2,DIR_LEFT|DIR_RIGHT)
DEFEVENT(JOY2_VERT,"Joy2 Vertical",AM_JOY_AXIS,0,2,DIR_UP|DIR_DOWN)
DEFEVENT(JOY2_HORIZ_POT,"Joy2 Horizontal (Analog)",AM_JOY_AXIS,64,2,0)
DEFEVENT(JOY2_VERT_POT,"Joy2 Vertical (Analog)",AM_JOY_AXIS,64,2,1)
DEFEVENT(JOY2_LEFT,"Joy2 Left",AM_K,16,2,DIR_LEFT)
DEFEVENT(JOY2_RIGHT,"Joy2 Right",AM_K,16,2,DIR_RIGHT)
DEFEVENT(JOY2_UP,"Joy2 Up",AM_K,16,2,DIR_UP)
DEFEVENT(JOY2_DOWN,"Joy2 Down",AM_K,16,2,DIR_DOWN)
DEFEVENT(JOY2_LEFT_UP,"Joy2 Left+Up",AM_K,16,2,DIR_LEFT|DIR_UP)
DEFEVENT(JOY2_LEFT_DOWN,"Joy2 Left+Down",AM_K,16,2,DIR_LEFT|DIR_DOWN)
DEFEVENT(JOY2_RIGHT_UP,"Joy2 Right+Up",AM_K,16,2,DIR_RIGHT|DIR_UP)
DEFEVENT(JOY2_RIGHT_DOWN,"Joy2 Right+Down",AM_K,16,2,DIR_RIGHT|DIR_DOWN)
DEFEVENT(JOY2_FIRE_BUTTON,"Joy2 Fire/Mouse2 Left Button",AM_K,4,2,JOYBUTTON_1)
DEFEVENT(JOY2_2ND_BUTTON,"Joy2 2nd Button/Mouse2 Right Button",AM_K,4,2,JOYBUTTON_2)
DEFEVENT(JOY2_3RD_BUTTON,"Joy2 3rd Button/Mouse2 Middle Button",AM_K,4,2,JOYBUTTON_3)
DEFEVENT(JOY2_CD32_PLAY,"Joy2 CD32 Play",AM_K,4,2,JOYBUTTON_CD32_PLAY)
DEFEVENT(JOY2_CD32_RWD,"Joy2 CD32 RWD",AM_K,4,2,JOYBUTTON_CD32_RWD)
DEFEVENT(JOY2_CD32_FFW,"Joy2 CD32 FFW",AM_K,4,2,JOYBUTTON_CD32_FFW)
DEFEVENT(JOY2_CD32_GREEN,"Joy2 CD32 Green",AM_K,4,2,JOYBUTTON_CD32_GREEN)
DEFEVENT(JOY2_CD32_YELLOW,"Joy2 CD32 Yellow",AM_K,4,2,JOYBUTTON_CD32_YELLOW)
DEFEVENT(JOY2_CD32_RED,"Joy2 CD32 Red",AM_K,4,2,JOYBUTTON_CD32_RED)
DEFEVENT(JOY2_CD32_BLUE,"Joy2 CD32 Blue",AM_K,4,2,JOYBUTTON_CD32_BLUE)
/* parallel port joystick adapter */
DEFEVENT(PAR_JOY1_START, "Parallel port joystick adapter", AM_INFO, 0,3,0)
DEFEVENT(PAR_JOY1_HORIZ,"Parallel Joy1 Horizontal",AM_JOY_AXIS,0,3,DIR_LEFT|DIR_RIGHT)
DEFEVENT(PAR_JOY1_VERT,"Parallel Joy1 Vertical",AM_JOY_AXIS,0,3,DIR_UP|DIR_DOWN)
DEFEVENT(PAR_JOY1_LEFT,"Parallel Joy1 Left",AM_K,16,3,DIR_LEFT)
DEFEVENT(PAR_JOY1_RIGHT,"Parallel Joy1 Right",AM_K,16,3,DIR_RIGHT)
DEFEVENT(PAR_JOY1_UP,"Parallel Joy1 Up",AM_K,16,3,DIR_UP)
DEFEVENT(PAR_JOY1_DOWN,"Parallel Joy1 Down",AM_K,16,3,DIR_DOWN)
DEFEVENT(PAR_JOY1_LEFT_UP,"Parallel Joy1 Left+Up",AM_K,16,3,DIR_LEFT|DIR_UP)
DEFEVENT(PAR_JOY1_LEFT_DOWN,"Parallel Joy1 Left+Down",AM_K,16,3,DIR_LEFT|DIR_DOWN)
DEFEVENT(PAR_JOY1_RIGHT_UP,"Parallel Joy1 Right+Up",AM_K,16,3,DIR_RIGHT|DIR_UP)
DEFEVENT(PAR_JOY1_RIGHT_DOWN,"Parallel Joy1 Right+Down",AM_K,16,3,DIR_RIGHT|DIR_DOWN)
DEFEVENT(PAR_JOY1_FIRE_BUTTON,"Parallel Joy1 Fire Button",AM_K,4,3,JOYBUTTON_1)
DEFEVENT(PAR_JOY2_START, "", AM_DUMMY, 0,4,0)
DEFEVENT(PAR_JOY2_HORIZ,"Parallel Joy2 Horizontal",AM_JOY_AXIS,0,4,DIR_LEFT|DIR_RIGHT)
DEFEVENT(PAR_JOY2_VERT,"Parallel Joy2 Vertical",AM_JOY_AXIS,0,4,DIR_UP|DIR_DOWN)
DEFEVENT(PAR_JOY2_LEFT,"Parallel Joy2 Left",AM_K,16,4,DIR_LEFT)
DEFEVENT(PAR_JOY2_RIGHT,"Parallel Joy2 Right",AM_K,16,4,DIR_RIGHT)
DEFEVENT(PAR_JOY2_UP,"Parallel Joy2 Up",AM_K,16,4,DIR_UP)
DEFEVENT(PAR_JOY2_DOWN,"Parallel Joy2 Down",AM_K,16,4,DIR_DOWN)
DEFEVENT(PAR_JOY2_LEFT_UP,"Parallel Joy2 Left+Up",AM_K,16,4,DIR_LEFT|DIR_UP)
DEFEVENT(PAR_JOY2_LEFT_DOWN,"Parallel Joy2 Left+Down",AM_K,16,4,DIR_LEFT|DIR_DOWN)
DEFEVENT(PAR_JOY2_RIGHT_UP,"Parallel Joy2 Right+Up",AM_K,16,4,DIR_RIGHT|DIR_UP)
DEFEVENT(PAR_JOY2_RIGHT_DOWN,"Parallel Joy2 Right+Down",AM_K,16,4,DIR_RIGHT|DIR_DOWN)
DEFEVENT(PAR_JOY2_FIRE_BUTTON,"Parallel Joy2 Fire Button",AM_K,4,4,JOYBUTTON_1)
DEFEVENT(PAR_JOY_END, "", AM_DUMMY, 0,0,0)
/* keys */
DEFEVENT(KEY_START,"Keyboard",AM_INFO, 0,0,0)
DEFEVENT(KEY_F1,"F1",AM_K,0,0,AK_F1)
DEFEVENT(KEY_F2,"F2",AM_K,0,0,AK_F2)
DEFEVENT(KEY_F3,"F3",AM_K,0,0,AK_F3)
DEFEVENT(KEY_F4,"F4",AM_K,0,0,AK_F4)
DEFEVENT(KEY_F5,"F5",AM_K,0,0,AK_F5)
DEFEVENT(KEY_F6,"F6",AM_K,0,0,AK_F6)
DEFEVENT(KEY_F7,"F7",AM_K,0,0,AK_F7)
DEFEVENT(KEY_F8,"F8",AM_K,0,0,AK_F8)
DEFEVENT(KEY_F9,"F9",AM_K,0,0,AK_F9)
DEFEVENT(KEY_F10,"F10",AM_K,0,0,AK_F10)
/* "special" keys */
DEFEVENT(KEY_ESC,"ESC",AM_K,0,0,AK_ESC)
DEFEVENT(KEY_TAB,"Tab",AM_K,0,0,AK_TAB)
DEFEVENT(KEY_CTRL,"CTRL",AM_K,0,0,AK_CTRL)
DEFEVENT(KEY_CTRL_RIGHT,"Right CTRL",AM_K,0,0,AK_RCTRL)
DEFEVENT(KEY_CAPS_LOCK,"Caps Lock",AM_K,0,0,AK_CAPSLOCK)
DEFEVENT(KEY_SHIFT_LEFT,"Left Shift",AM_K,0,0,AK_LSH)
DEFEVENT(KEY_ALT_LEFT,"Left Alt",AM_K,0,0,AK_LALT)
DEFEVENT(KEY_AMIGA_LEFT,"Left Amiga",AM_K,0,0,AK_LAMI)
DEFEVENT(KEY_AMIGA_RIGHT,"Right Amiga",AM_K,0,0,AK_RAMI)
DEFEVENT(KEY_ALT_RIGHT,"Right Alt",AM_K,0,0,AK_RALT)
DEFEVENT(KEY_SHIFT_RIGHT,"Right Shift",AM_K,0,0,AK_RSH)
DEFEVENT(KEY_SPACE,"Space",AM_K,0,0,AK_SPC)
DEFEVENT(KEY_CURSOR_UP,"Cursor Up",AM_K,0,0,AK_UP)
DEFEVENT(KEY_CURSOR_DOWN,"Cursor Down",AM_K,0,0,AK_DN)
DEFEVENT(KEY_CURSOR_LEFT,"Cursor Left",AM_K,0,0,AK_LF)
DEFEVENT(KEY_CURSOR_RIGHT,"Cursor Right",AM_K,0,0,AK_RT)
DEFEVENT(KEY_HELP,"Help",AM_K,0,0,AK_HELP)
DEFEVENT(KEY_DEL,"Del",AM_K,0,0,AK_DEL)
DEFEVENT(KEY_BACKSPACE,"Backspace",AM_K,0,0,AK_BS)
DEFEVENT(KEY_RETURN,"Return",AM_K,0,0,AK_RET)
/* numpad */
DEFEVENT(KEY_A,"A",AM_K,0,0,AK_A)
DEFEVENT(KEY_B,"B",AM_K,0,0,AK_B)
DEFEVENT(KEY_C,"C",AM_K,0,0,AK_C)
DEFEVENT(KEY_D,"D",AM_K,0,0,AK_D)
DEFEVENT(KEY_E,"E",AM_K,0,0,AK_E)
DEFEVENT(KEY_F,"F",AM_K,0,0,AK_F)
DEFEVENT(KEY_G,"G",AM_K,0,0,AK_G)
DEFEVENT(KEY_H,"H",AM_K,0,0,AK_H)
DEFEVENT(KEY_I,"I",AM_K,0,0,AK_I)
DEFEVENT(KEY_J,"J",AM_K,0,0,AK_J)
DEFEVENT(KEY_K,"K",AM_K,0,0,AK_K)
DEFEVENT(KEY_L,"L",AM_K,0,0,AK_L)
DEFEVENT(KEY_M,"M",AM_K,0,0,AK_M)
DEFEVENT(KEY_N,"N",AM_K,0,0,AK_N)
DEFEVENT(KEY_O,"O",AM_K,0,0,AK_O)
DEFEVENT(KEY_P,"P",AM_K,0,0,AK_P)
DEFEVENT(KEY_Q,"Q",AM_K,0,0,AK_Q)
DEFEVENT(KEY_R,"R",AM_K,0,0,AK_R)
DEFEVENT(KEY_S,"S",AM_K,0,0,AK_S)
DEFEVENT(KEY_T,"T",AM_K,0,0,AK_T)
DEFEVENT(KEY_U,"U",AM_K,0,0,AK_U)
DEFEVENT(KEY_V,"V",AM_K,0,0,AK_V)
DEFEVENT(KEY_W,"W",AM_K,0,0,AK_W)
DEFEVENT(KEY_X,"X",AM_K,0,0,AK_X)
DEFEVENT(KEY_Y,"Y",AM_K,0,0,AK_Y)
DEFEVENT(KEY_Z,"Z",AM_K,0,0,AK_Z)
DEFEVENT(KEY_ENTER,"Numpad Enter",AM_K,0,0,AK_ENT)
DEFEVENT(KEY_NP_0,"Numpad 0",AM_K,0,0,AK_NP0)
DEFEVENT(KEY_NP_1,"Numpad 1",AM_K,0,0,AK_NP1)
DEFEVENT(KEY_NP_2,"Numpad 2",AM_K,0,0,AK_NP2)
DEFEVENT(KEY_NP_3,"Numpad 3",AM_K,0,0,AK_NP3)
DEFEVENT(KEY_NP_4,"Numpad 4",AM_K,0,0,AK_NP4)
DEFEVENT(KEY_NP_5,"Numpad 5",AM_K,0,0,AK_NP5)
DEFEVENT(KEY_NP_6,"Numpad 6",AM_K,0,0,AK_NP6)
DEFEVENT(KEY_NP_7,"Numpad 7",AM_K,0,0,AK_NP7)
DEFEVENT(KEY_NP_8,"Numpad 8",AM_K,0,0,AK_NP8)
DEFEVENT(KEY_NP_9,"Numpad 9",AM_K,0,0,AK_NP9)
DEFEVENT(KEY_NP_PERIOD,"Numpad Period",AM_K,0,0,AK_NPDEL)
DEFEVENT(KEY_NP_ADD,"Numpad Plus",AM_K,0,0,AK_NPADD)
DEFEVENT(KEY_NP_SUB,"Numpad Minus",AM_K,0,0,AK_NPSUB)
DEFEVENT(KEY_NP_MUL,"Numpad Multiply",AM_K,0,0,AK_NPMUL)
DEFEVENT(KEY_NP_DIV,"Numpad Divide",AM_K,0,0,AK_NPDIV)
DEFEVENT(KEY_NP_LPAREN,"Numpad Left Parenthesis",AM_K,0,0,AK_NPLPAREN)
DEFEVENT(KEY_NP_RPAREN,"Numpad Right Parenthesis",AM_K,0,0,AK_NPRPAREN)
DEFEVENT(KEY_2B,"Keycode 0x2b",AM_K,0,0,0x2b)
DEFEVENT(KEY_30,"Keycode 0x30",AM_K,0,0,0x30)
DEFEVENT(KEY_BACKQUOTE,"Back Quote",AM_K,0,0,AK_BACKQUOTE)
DEFEVENT(KEY_1,"1",AM_K,0,0,AK_1)
DEFEVENT(KEY_2,"2",AM_K,0,0,AK_2)
DEFEVENT(KEY_3,"3",AM_K,0,0,AK_3)
DEFEVENT(KEY_4,"4",AM_K,0,0,AK_4)
DEFEVENT(KEY_5,"5",AM_K,0,0,AK_5)
DEFEVENT(KEY_6,"6",AM_K,0,0,AK_6)
DEFEVENT(KEY_7,"7",AM_K,0,0,AK_7)
DEFEVENT(KEY_8,"8",AM_K,0,0,AK_8)
DEFEVENT(KEY_9,"9",AM_K,0,0,AK_9)
DEFEVENT(KEY_0,"0",AM_K,0,0,AK_0)
DEFEVENT(KEY_SUB,"Minus",AM_K,0,0,AK_MINUS)
DEFEVENT(KEY_EQUALS,"Equals",AM_K,0,0,AK_EQUAL)
DEFEVENT(KEY_BACKSLASH,"Backslash",AM_K,0,0,AK_BACKSLASH)
DEFEVENT(KEY_LEFTBRACKET,"Left Bracket",AM_K,0,0,AK_LBRACKET)
DEFEVENT(KEY_RIGHTBRACKET,"Right Bracket",AM_K,0,0,AK_RBRACKET)
DEFEVENT(KEY_SEMICOLON,"Semicolon",AM_K,0,0,AK_SEMICOLON)
DEFEVENT(KEY_SINGLEQUOTE,"Single Quote",AM_K,0,0,AK_QUOTE)
DEFEVENT(KEY_COMMA,"Comma",AM_K,0,0,AK_COMMA)
DEFEVENT(KEY_PERIOD,"Period",AM_K,0,0,AK_PERIOD)
DEFEVENT(KEY_DIV,"Slash",AM_K,0,0,AK_SLASH)
// DEFEVENT(KEY_,"",AM_K,0,0,0x)
/* mouse wheel "keys" */
DEFEVENT(MOUSEWHEEL_DOWN,"Mouse Wheel Down",AM_K,0,0,0x7a)
DEFEVENT(MOUSEWHEEL_UP,"Mouse Wheel Up",AM_K,0,0,0x7b)
/* misc */
DEFEVENT(KEY_CDTV_STOP,"CDTV Stop",AM_K,0,0,0x72)
DEFEVENT(KEY_CDTV_PLAYPAUSE,"CDTV Play/Pause",AM_K,0,0,0x73)
DEFEVENT(KEY_CDTV_FF,"CDTV Fast Forward",AM_K,0,0,0x74)
DEFEVENT(KEY_CDTV_REW,"CDTV Rewind",AM_K,0,0,0x75)
DEFEVENT(KEY_70,"Keycode 0x70",AM_K,0,0,0x70)
DEFEVENT(KEY_71,"Keycode 0x71",AM_K,0,0,0x71)
DEFEVENT(KEY_76,"Keycode 0x76",AM_K,0,0,0x76)
DEFEVENT(KEY_77,"Keycode 0x77",AM_K,0,0,0x77)
DEFEVENT(KEY_78,"Keycode 0x78 (Reset Warning)",AM_K,0,0,0x78)
DEFEVENT(KEY_79,"Keycode 0x79",AM_K,0,0,0x79)
/* special */
DEFEVENT(SPC_ENTERGUI,"Enter GUI",AM_K,0,0,AKS_ENTERGUI)
DEFEVENT(SPC_SCREENSHOT,"Screenshot",AM_K,0,0,AKS_SCREENSHOT)
DEFEVENT(SPC_FREEZEBUTTON,"Activate Cartridge",AM_K,0,0,AKS_FREEZEBUTTON)
DEFEVENT(SPC_FLOPPY0,"Change disk in DF0:",AM_K,0,0,AKS_FLOPPY0)
DEFEVENT(SPC_FLOPPY1,"Change disk in DF1:",AM_K,0,0,AKS_FLOPPY1)
DEFEVENT(SPC_FLOPPY2,"Change disk in DF2:",AM_K,0,0,AKS_FLOPPY2)
DEFEVENT(SPC_FLOPPY3,"Change disk in DF3:",AM_K,0,0,AKS_FLOPPY3)
DEFEVENT(SPC_EFLOPPY0,"Eject disk in DF0:",AM_K,0,0,AKS_EFLOPPY0)
DEFEVENT(SPC_EFLOPPY1,"Eject disk in DF1:",AM_K,0,0,AKS_EFLOPPY1)
DEFEVENT(SPC_EFLOPPY2,"Eject disk in DF2:",AM_K,0,0,AKS_EFLOPPY2)
DEFEVENT(SPC_EFLOPPY3,"Eject disk in DF3:",AM_K,0,0,AKS_EFLOPPY3)
DEFEVENT(SPC_PAUSE,"Pause emulation",AM_K,0,0,AKS_PAUSE)
DEFEVENT(SPC_WARP,"Warp mode",AM_K,0,0,AKS_WARP)
DEFEVENT(SPC_INHIBITSCREEN,"Toggle screen updates",AM_K,0,0,AKS_INHIBITSCREEN)
DEFEVENT(SPC_IRQ7,"Level 7 interrupt",AM_K,0,0,AKS_IRQ7)
DEFEVENT(SPC_STATEREWIND,"Load previous state capture",AM_K,0,0,AKS_STATEREWIND)
DEFEVENT(SPC_VOLUME_DOWN,"Decrease volume level",AM_K,0,0,AKS_VOLDOWN)
DEFEVENT(SPC_VOLUME_UP,"Increase volume level",AM_K,0,0,AKS_VOLUP)
DEFEVENT(SPC_VOLUME_MUTE,"Mute/unmute volume",AM_K,0,0,AKS_VOLMUTE)
DEFEVENT(SPC_QUIT,"Quit emulator",AM_K,0,0,AKS_QUIT)
DEFEVENT(SPC_SOFTRESET,"Reset emulation",AM_K,0,0,AKS_SOFTRESET)
DEFEVENT(SPC_HARDRESET,"Hard reset emulation",AM_K,0,0,AKS_HARDRESET)
DEFEVENT(SPC_ENTERDEBUGGER,"Activate the built-in debugger",AM_K,0,0,AKS_ENTERDEBUGGER)
DEFEVENT(SPC_STATESAVE, "Quick save state",AM_K,0,0,AKS_STATESAVEQUICK)
DEFEVENT(SPC_STATESAVE1,"Quick save state (slot 1)",AM_K,0,0,AKS_STATESAVEQUICK1)
DEFEVENT(SPC_STATESAVE2,"Quick save state (slot 2)",AM_K,0,0,AKS_STATESAVEQUICK2)
DEFEVENT(SPC_STATESAVE3,"Quick save state (slot 3)",AM_K,0,0,AKS_STATESAVEQUICK3)
DEFEVENT(SPC_STATESAVE4,"Quick save state (slot 4)",AM_K,0,0,AKS_STATESAVEQUICK4)
DEFEVENT(SPC_STATESAVE5,"Quick save state (slot 5)",AM_K,0,0,AKS_STATESAVEQUICK5)
DEFEVENT(SPC_STATESAVE6,"Quick save state (slot 6)",AM_K,0,0,AKS_STATESAVEQUICK6)
DEFEVENT(SPC_STATESAVE7,"Quick save state (slot 7)",AM_K,0,0,AKS_STATESAVEQUICK7)
DEFEVENT(SPC_STATESAVE8,"Quick save state (slot 8)",AM_K,0,0,AKS_STATESAVEQUICK8)
DEFEVENT(SPC_STATESAVE9,"Quick save state (slot 9)",AM_K,0,0,AKS_STATESAVEQUICK9)
DEFEVENT(SPC_STATERESTORE, "Quick restore state",AM_K,0,0,AKS_STATERESTOREQUICK)
DEFEVENT(SPC_STATERESTORE1,"Quick restore state (slot 1)",AM_K,0,0,AKS_STATERESTOREQUICK1)
DEFEVENT(SPC_STATERESTORE2,"Quick restore state (slot 2)",AM_K,0,0,AKS_STATERESTOREQUICK2)
DEFEVENT(SPC_STATERESTORE3,"Quick restore state (slot 3)",AM_K,0,0,AKS_STATERESTOREQUICK3)
DEFEVENT(SPC_STATERESTORE4,"Quick restore state (slot 4)",AM_K,0,0,AKS_STATERESTOREQUICK4)
DEFEVENT(SPC_STATERESTORE5,"Quick restore state (slot 5)",AM_K,0,0,AKS_STATERESTOREQUICK5)
DEFEVENT(SPC_STATERESTORE6,"Quick restore state (slot 6)",AM_K,0,0,AKS_STATERESTOREQUICK6)
DEFEVENT(SPC_STATERESTORE7,"Quick restore state (slot 7)",AM_K,0,0,AKS_STATERESTOREQUICK7)
DEFEVENT(SPC_STATERESTORE8,"Quick restore state (slot 8)",AM_K,0,0,AKS_STATERESTOREQUICK8)
DEFEVENT(SPC_STATERESTORE9,"Quick restore state (slot 9)",AM_K,0,0,AKS_STATERESTOREQUICK9)
DEFEVENT(SPC_STATESAVEDIALOG,"Save state",AM_K,0,0,AKS_STATESAVEDIALOG)
DEFEVENT(SPC_STATERESTOREDIALOG,"Restore state",AM_K,0,0,AKS_STATERESTOREDIALOG)
DEFEVENT(SPC_TOGGLEFULLSCREEN,"Toggle windowed/fullscreen",AM_K,0,0,AKS_TOGGLEFULLSCREEN)
DEFEVENT(SPC_TOGGLEMOUSEGRAB,"Toggle between mouse grabbed and un-grabbed",AM_K,0,0,AKS_TOGGLEMOUSEGRAB)
DEFEVENT(SPC_INCRFRAMERATE,"Increase number of display frames skipped",AM_K,0,0,AKS_INCRFRAMERATE)
DEFEVENT(SPC_DECRFRAMERATE,"Decrease number of display frames skipped",AM_K,0,0,AKS_DECRFRAMERATE)
DEFEVENT(SPC_SWITCHINTERPOL,"Switch between audio interpolation methods",AM_K,0,0,AKS_SWITCHINTERPOL)
DEFEVENT(SPC_DECREASE_REFRESHRATE,"Decrease emulation speed",AM_K,0,0,AKS_DECREASEREFRESHRATE)
DEFEVENT(SPC_INCREASE_REFRESHRATE,"Increase emulation speed",AM_K,0,0,AKS_INCREASEREFRESHRATE)
DEFEVENT(SPC_ARCADIA_DIAGNOSTICS,"Arcadia diagnostics dip switch",AM_K,0,0,AKS_ARCADIADIAGNOSTICS)
DEFEVENT(SPC_ARCADIA_PLAYER1,"Arcadia player 1",AM_K,0,0,AKS_ARCADIAPLY1)
DEFEVENT(SPC_ARCADIA_PLAYER2,"Arcadia player 2",AM_K,0,0,AKS_ARCADIAPLY2)
DEFEVENT(SPC_ARCADIA_COIN1,"Arcadia coin player 1",AM_K,0,0,AKS_ARCADIACOIN1)
DEFEVENT(SPC_ARCADIA_COIN2,"Arcadia coin player 2",AM_K,0,0,AKS_ARCADIACOIN2)