-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSDL_scancode.fth
268 lines (264 loc) · 8.93 KB
/
SDL_scancode.fth
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
\ This file has been generated using SWIG and fsi,
\ and is already platform dependent, search for the corresponding
\ fsi-file to compile it where no one has compiled it before ;)
\ Forth systems have their own own dynamic loader and don't need addional C-Code.
\ That's why this file will just print normal forth-code once compiled
\ and can be used directly with include or require.
\ As all comments are stripped during the compilation, please
\ insert the copyright notice of the original file here.
\ ----===< prefix >===-----
c-library sdl_scancode
s" SDL2" add-lib
\c #include <SDL2/SDL_scancode.h>
\ ----===< int constants >===-----
\ --------===< enums >===---------
#0 constant SDL_SCANCODE_UNKNOWN
#4 constant SDL_SCANCODE_A
#5 constant SDL_SCANCODE_B
#6 constant SDL_SCANCODE_C
#7 constant SDL_SCANCODE_D
#8 constant SDL_SCANCODE_E
#9 constant SDL_SCANCODE_F
#10 constant SDL_SCANCODE_G
#11 constant SDL_SCANCODE_H
#12 constant SDL_SCANCODE_I
#13 constant SDL_SCANCODE_J
#14 constant SDL_SCANCODE_K
#15 constant SDL_SCANCODE_L
#16 constant SDL_SCANCODE_M
#17 constant SDL_SCANCODE_N
#18 constant SDL_SCANCODE_O
#19 constant SDL_SCANCODE_P
#20 constant SDL_SCANCODE_Q
#21 constant SDL_SCANCODE_R
#22 constant SDL_SCANCODE_S
#23 constant SDL_SCANCODE_T
#24 constant SDL_SCANCODE_U
#25 constant SDL_SCANCODE_V
#26 constant SDL_SCANCODE_W
#27 constant SDL_SCANCODE_X
#28 constant SDL_SCANCODE_Y
#29 constant SDL_SCANCODE_Z
#30 constant SDL_SCANCODE_1
#31 constant SDL_SCANCODE_2
#32 constant SDL_SCANCODE_3
#33 constant SDL_SCANCODE_4
#34 constant SDL_SCANCODE_5
#35 constant SDL_SCANCODE_6
#36 constant SDL_SCANCODE_7
#37 constant SDL_SCANCODE_8
#38 constant SDL_SCANCODE_9
#39 constant SDL_SCANCODE_0
#40 constant SDL_SCANCODE_RETURN
#41 constant SDL_SCANCODE_ESCAPE
#42 constant SDL_SCANCODE_BACKSPACE
#43 constant SDL_SCANCODE_TAB
#44 constant SDL_SCANCODE_SPACE
#45 constant SDL_SCANCODE_MINUS
#46 constant SDL_SCANCODE_EQUALS
#47 constant SDL_SCANCODE_LEFTBRACKET
#48 constant SDL_SCANCODE_RIGHTBRACKET
#49 constant SDL_SCANCODE_BACKSLASH
#50 constant SDL_SCANCODE_NONUSHASH
#51 constant SDL_SCANCODE_SEMICOLON
#52 constant SDL_SCANCODE_APOSTROPHE
#53 constant SDL_SCANCODE_GRAVE
#54 constant SDL_SCANCODE_COMMA
#55 constant SDL_SCANCODE_PERIOD
#56 constant SDL_SCANCODE_SLASH
#57 constant SDL_SCANCODE_CAPSLOCK
#58 constant SDL_SCANCODE_F1
#59 constant SDL_SCANCODE_F2
#60 constant SDL_SCANCODE_F3
#61 constant SDL_SCANCODE_F4
#62 constant SDL_SCANCODE_F5
#63 constant SDL_SCANCODE_F6
#64 constant SDL_SCANCODE_F7
#65 constant SDL_SCANCODE_F8
#66 constant SDL_SCANCODE_F9
#67 constant SDL_SCANCODE_F10
#68 constant SDL_SCANCODE_F11
#69 constant SDL_SCANCODE_F12
#70 constant SDL_SCANCODE_PRINTSCREEN
#71 constant SDL_SCANCODE_SCROLLLOCK
#72 constant SDL_SCANCODE_PAUSE
#73 constant SDL_SCANCODE_INSERT
#74 constant SDL_SCANCODE_HOME
#75 constant SDL_SCANCODE_PAGEUP
#76 constant SDL_SCANCODE_DELETE
#77 constant SDL_SCANCODE_END
#78 constant SDL_SCANCODE_PAGEDOWN
#79 constant SDL_SCANCODE_RIGHT
#80 constant SDL_SCANCODE_LEFT
#81 constant SDL_SCANCODE_DOWN
#82 constant SDL_SCANCODE_UP
#83 constant SDL_SCANCODE_NUMLOCKCLEAR
#84 constant SDL_SCANCODE_KP_DIVIDE
#85 constant SDL_SCANCODE_KP_MULTIPLY
#86 constant SDL_SCANCODE_KP_MINUS
#87 constant SDL_SCANCODE_KP_PLUS
#88 constant SDL_SCANCODE_KP_ENTER
#89 constant SDL_SCANCODE_KP_1
#90 constant SDL_SCANCODE_KP_2
#91 constant SDL_SCANCODE_KP_3
#92 constant SDL_SCANCODE_KP_4
#93 constant SDL_SCANCODE_KP_5
#94 constant SDL_SCANCODE_KP_6
#95 constant SDL_SCANCODE_KP_7
#96 constant SDL_SCANCODE_KP_8
#97 constant SDL_SCANCODE_KP_9
#98 constant SDL_SCANCODE_KP_0
#99 constant SDL_SCANCODE_KP_PERIOD
#100 constant SDL_SCANCODE_NONUSBACKSLASH
#101 constant SDL_SCANCODE_APPLICATION
#102 constant SDL_SCANCODE_POWER
#103 constant SDL_SCANCODE_KP_EQUALS
#104 constant SDL_SCANCODE_F13
#105 constant SDL_SCANCODE_F14
#106 constant SDL_SCANCODE_F15
#107 constant SDL_SCANCODE_F16
#108 constant SDL_SCANCODE_F17
#109 constant SDL_SCANCODE_F18
#110 constant SDL_SCANCODE_F19
#111 constant SDL_SCANCODE_F20
#112 constant SDL_SCANCODE_F21
#113 constant SDL_SCANCODE_F22
#114 constant SDL_SCANCODE_F23
#115 constant SDL_SCANCODE_F24
#116 constant SDL_SCANCODE_EXECUTE
#117 constant SDL_SCANCODE_HELP
#118 constant SDL_SCANCODE_MENU
#119 constant SDL_SCANCODE_SELECT
#120 constant SDL_SCANCODE_STOP
#121 constant SDL_SCANCODE_AGAIN
#122 constant SDL_SCANCODE_UNDO
#123 constant SDL_SCANCODE_CUT
#124 constant SDL_SCANCODE_COPY
#125 constant SDL_SCANCODE_PASTE
#126 constant SDL_SCANCODE_FIND
#127 constant SDL_SCANCODE_MUTE
#128 constant SDL_SCANCODE_VOLUMEUP
#129 constant SDL_SCANCODE_VOLUMEDOWN
#133 constant SDL_SCANCODE_KP_COMMA
#134 constant SDL_SCANCODE_KP_EQUALSAS400
#135 constant SDL_SCANCODE_INTERNATIONAL1
#136 constant SDL_SCANCODE_INTERNATIONAL2
#137 constant SDL_SCANCODE_INTERNATIONAL3
#138 constant SDL_SCANCODE_INTERNATIONAL4
#139 constant SDL_SCANCODE_INTERNATIONAL5
#140 constant SDL_SCANCODE_INTERNATIONAL6
#141 constant SDL_SCANCODE_INTERNATIONAL7
#142 constant SDL_SCANCODE_INTERNATIONAL8
#143 constant SDL_SCANCODE_INTERNATIONAL9
#144 constant SDL_SCANCODE_LANG1
#145 constant SDL_SCANCODE_LANG2
#146 constant SDL_SCANCODE_LANG3
#147 constant SDL_SCANCODE_LANG4
#148 constant SDL_SCANCODE_LANG5
#149 constant SDL_SCANCODE_LANG6
#150 constant SDL_SCANCODE_LANG7
#151 constant SDL_SCANCODE_LANG8
#152 constant SDL_SCANCODE_LANG9
#153 constant SDL_SCANCODE_ALTERASE
#154 constant SDL_SCANCODE_SYSREQ
#155 constant SDL_SCANCODE_CANCEL
#156 constant SDL_SCANCODE_CLEAR
#157 constant SDL_SCANCODE_PRIOR
#158 constant SDL_SCANCODE_RETURN2
#159 constant SDL_SCANCODE_SEPARATOR
#160 constant SDL_SCANCODE_OUT
#161 constant SDL_SCANCODE_OPER
#162 constant SDL_SCANCODE_CLEARAGAIN
#163 constant SDL_SCANCODE_CRSEL
#164 constant SDL_SCANCODE_EXSEL
#176 constant SDL_SCANCODE_KP_00
#177 constant SDL_SCANCODE_KP_000
#178 constant SDL_SCANCODE_THOUSANDSSEPARATOR
#179 constant SDL_SCANCODE_DECIMALSEPARATOR
#180 constant SDL_SCANCODE_CURRENCYUNIT
#181 constant SDL_SCANCODE_CURRENCYSUBUNIT
#182 constant SDL_SCANCODE_KP_LEFTPAREN
#183 constant SDL_SCANCODE_KP_RIGHTPAREN
#184 constant SDL_SCANCODE_KP_LEFTBRACE
#185 constant SDL_SCANCODE_KP_RIGHTBRACE
#186 constant SDL_SCANCODE_KP_TAB
#187 constant SDL_SCANCODE_KP_BACKSPACE
#188 constant SDL_SCANCODE_KP_A
#189 constant SDL_SCANCODE_KP_B
#190 constant SDL_SCANCODE_KP_C
#191 constant SDL_SCANCODE_KP_D
#192 constant SDL_SCANCODE_KP_E
#193 constant SDL_SCANCODE_KP_F
#194 constant SDL_SCANCODE_KP_XOR
#195 constant SDL_SCANCODE_KP_POWER
#196 constant SDL_SCANCODE_KP_PERCENT
#197 constant SDL_SCANCODE_KP_LESS
#198 constant SDL_SCANCODE_KP_GREATER
#199 constant SDL_SCANCODE_KP_AMPERSAND
#200 constant SDL_SCANCODE_KP_DBLAMPERSAND
#201 constant SDL_SCANCODE_KP_VERTICALBAR
#202 constant SDL_SCANCODE_KP_DBLVERTICALBAR
#203 constant SDL_SCANCODE_KP_COLON
#204 constant SDL_SCANCODE_KP_HASH
#205 constant SDL_SCANCODE_KP_SPACE
#206 constant SDL_SCANCODE_KP_AT
#207 constant SDL_SCANCODE_KP_EXCLAM
#208 constant SDL_SCANCODE_KP_MEMSTORE
#209 constant SDL_SCANCODE_KP_MEMRECALL
#210 constant SDL_SCANCODE_KP_MEMCLEAR
#211 constant SDL_SCANCODE_KP_MEMADD
#212 constant SDL_SCANCODE_KP_MEMSUBTRACT
#213 constant SDL_SCANCODE_KP_MEMMULTIPLY
#214 constant SDL_SCANCODE_KP_MEMDIVIDE
#215 constant SDL_SCANCODE_KP_PLUSMINUS
#216 constant SDL_SCANCODE_KP_CLEAR
#217 constant SDL_SCANCODE_KP_CLEARENTRY
#218 constant SDL_SCANCODE_KP_BINARY
#219 constant SDL_SCANCODE_KP_OCTAL
#220 constant SDL_SCANCODE_KP_DECIMAL
#221 constant SDL_SCANCODE_KP_HEXADECIMAL
#224 constant SDL_SCANCODE_LCTRL
#225 constant SDL_SCANCODE_LSHIFT
#226 constant SDL_SCANCODE_LALT
#227 constant SDL_SCANCODE_LGUI
#228 constant SDL_SCANCODE_RCTRL
#229 constant SDL_SCANCODE_RSHIFT
#230 constant SDL_SCANCODE_RALT
#231 constant SDL_SCANCODE_RGUI
#257 constant SDL_SCANCODE_MODE
#258 constant SDL_SCANCODE_AUDIONEXT
#259 constant SDL_SCANCODE_AUDIOPREV
#260 constant SDL_SCANCODE_AUDIOSTOP
#261 constant SDL_SCANCODE_AUDIOPLAY
#262 constant SDL_SCANCODE_AUDIOMUTE
#263 constant SDL_SCANCODE_MEDIASELECT
#264 constant SDL_SCANCODE_WWW
#265 constant SDL_SCANCODE_MAIL
#266 constant SDL_SCANCODE_CALCULATOR
#267 constant SDL_SCANCODE_COMPUTER
#268 constant SDL_SCANCODE_AC_SEARCH
#269 constant SDL_SCANCODE_AC_HOME
#270 constant SDL_SCANCODE_AC_BACK
#271 constant SDL_SCANCODE_AC_FORWARD
#272 constant SDL_SCANCODE_AC_STOP
#273 constant SDL_SCANCODE_AC_REFRESH
#274 constant SDL_SCANCODE_AC_BOOKMARKS
#275 constant SDL_SCANCODE_BRIGHTNESSDOWN
#276 constant SDL_SCANCODE_BRIGHTNESSUP
#277 constant SDL_SCANCODE_DISPLAYSWITCH
#278 constant SDL_SCANCODE_KBDILLUMTOGGLE
#279 constant SDL_SCANCODE_KBDILLUMDOWN
#280 constant SDL_SCANCODE_KBDILLUMUP
#281 constant SDL_SCANCODE_EJECT
#282 constant SDL_SCANCODE_SLEEP
#283 constant SDL_SCANCODE_APP1
#284 constant SDL_SCANCODE_APP2
#285 constant SDL_SCANCODE_AUDIOREWIND
#286 constant SDL_SCANCODE_AUDIOFASTFORWARD
#287 constant SDL_SCANCODE_SOFTLEFT
#288 constant SDL_SCANCODE_SOFTRIGHT
#289 constant SDL_SCANCODE_CALL
#290 constant SDL_SCANCODE_ENDCALL
#512 constant SDL_NUM_SCANCODES
\ ----===< postfix >===-----
end-c-library