-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsdl_constants.cc
256 lines (253 loc) · 9.08 KB
/
sdl_constants.cc
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
// Set SDL constants
//Supported events
GLOB_INT("SDL_QUIT",SDL_QUIT)
GLOB_INT("SDL_MOUSEBUTTONDOWN",SDL_MOUSEBUTTONDOWN)
GLOB_INT("SDL_MOUSEBUTTONUP",SDL_MOUSEBUTTONUP)
GLOB_INT("SDL_MOUSEMOTION",SDL_MOUSEMOTION)
GLOB_INT("SDL_KEYDOWN",SDL_KEYDOWN)
GLOB_INT("SDL_KEYUP",SDL_KEYUP)GLOB_INT("SDL_TEXTINPUT",SDL_TEXTINPUT)
GLOB_INT("SDL_TEXTEDITING",SDL_TEXTEDITING)
//Mouse buttonsGLOB_INT("SDL_BUTTON_LEFT",SDL_BUTTON_LEFT)
GLOB_INT("SDL_BUTTON_MIDDLE",SDL_BUTTON_MIDDLE)
GLOB_INT("SDL_BUTTON_RIGHT",SDL_BUTTON_RIGHT)
GLOB_INT("SDL_BUTTON_X1",SDL_BUTTON_X1)
GLOB_INT("SDL_BUTTON_X2",SDL_BUTTON_X2)
//SDL key constants (event.sym should be compared with this)
GLOB_INT("SDLK_SCANCODE_MASK",SDLK_SCANCODE_MASK)
GLOB_INT("SDLK_SCANCODE_MASK",SDLK_SCANCODE_MASK)
GLOB_INT("SDLK_UNKNOWN",SDLK_UNKNOWN)
GLOB_INT("SDLK_RETURN",SDLK_RETURN)
GLOB_INT("SDLK_ESCAPE",SDLK_ESCAPE)
GLOB_INT("SDLK_BACKSPACE",SDLK_BACKSPACE)
GLOB_INT("SDLK_TAB",SDLK_TAB)
GLOB_INT("SDLK_SPACE",SDLK_SPACE)
GLOB_INT("SDLK_EXCLAIM",SDLK_EXCLAIM)
GLOB_INT("SDLK_QUOTEDBL",SDLK_QUOTEDBL)
GLOB_INT("SDLK_HASH",SDLK_HASH)
GLOB_INT("SDLK_PERCENT",SDLK_PERCENT)
GLOB_INT("SDLK_DOLLAR",SDLK_DOLLAR)
GLOB_INT("SDLK_AMPERSAND",SDLK_AMPERSAND)
GLOB_INT("SDLK_QUOTE",SDLK_QUOTE)
GLOB_INT("SDLK_LEFTPAREN",SDLK_LEFTPAREN)
GLOB_INT("SDLK_RIGHTPAREN",SDLK_RIGHTPAREN)
GLOB_INT("SDLK_ASTERISK",SDLK_ASTERISK)
GLOB_INT("SDLK_PLUS",SDLK_PLUS)
GLOB_INT("SDLK_COMMA",SDLK_COMMA)
GLOB_INT("SDLK_MINUS",SDLK_MINUS)
GLOB_INT("SDLK_PERIOD",SDLK_PERIOD)
GLOB_INT("SDLK_SLASH",SDLK_SLASH)
GLOB_INT("SDLK_0",SDLK_0)
GLOB_INT("SDLK_1",SDLK_1)
GLOB_INT("SDLK_2",SDLK_2)
GLOB_INT("SDLK_3",SDLK_3)
GLOB_INT("SDLK_4",SDLK_4)
GLOB_INT("SDLK_5",SDLK_5)
GLOB_INT("SDLK_6",SDLK_6)
GLOB_INT("SDLK_7",SDLK_7)
GLOB_INT("SDLK_8",SDLK_8)
GLOB_INT("SDLK_9",SDLK_9)
GLOB_INT("SDLK_COLON",SDLK_COLON)
GLOB_INT("SDLK_SEMICOLON",SDLK_SEMICOLON)
GLOB_INT("SDLK_LESS",SDLK_LESS)
GLOB_INT("SDLK_EQUALS",SDLK_EQUALS)
GLOB_INT("SDLK_GREATER",SDLK_GREATER)
GLOB_INT("SDLK_QUESTION",SDLK_QUESTION)
GLOB_INT("SDLK_AT",SDLK_AT)
GLOB_INT("SDLK_LEFTBRACKET",SDLK_LEFTBRACKET)
GLOB_INT("SDLK_BACKSLASH",SDLK_BACKSLASH)
GLOB_INT("SDLK_RIGHTBRACKET",SDLK_RIGHTBRACKET)
GLOB_INT("SDLK_CARET",SDLK_CARET)
GLOB_INT("SDLK_UNDERSCORE",SDLK_UNDERSCORE)
GLOB_INT("SDLK_BACKQUOTE",SDLK_BACKQUOTE)
GLOB_INT("SDLK_a",SDLK_a)
GLOB_INT("SDLK_b",SDLK_b)
GLOB_INT("SDLK_c",SDLK_c)
GLOB_INT("SDLK_d",SDLK_d)
GLOB_INT("SDLK_e",SDLK_e)
GLOB_INT("SDLK_f",SDLK_f)
GLOB_INT("SDLK_g",SDLK_g)
GLOB_INT("SDLK_h",SDLK_h)
GLOB_INT("SDLK_i",SDLK_i)
GLOB_INT("SDLK_j",SDLK_j)
GLOB_INT("SDLK_k",SDLK_k)
GLOB_INT("SDLK_l",SDLK_l)
GLOB_INT("SDLK_m",SDLK_m)
GLOB_INT("SDLK_n",SDLK_n)
GLOB_INT("SDLK_o",SDLK_o)
GLOB_INT("SDLK_p",SDLK_p)
GLOB_INT("SDLK_q",SDLK_q)
GLOB_INT("SDLK_r",SDLK_r)
GLOB_INT("SDLK_s",SDLK_s)
GLOB_INT("SDLK_t",SDLK_t)
GLOB_INT("SDLK_u",SDLK_u)
GLOB_INT("SDLK_v",SDLK_v)
GLOB_INT("SDLK_w",SDLK_w)
GLOB_INT("SDLK_x",SDLK_x)
GLOB_INT("SDLK_y",SDLK_y)
GLOB_INT("SDLK_z",SDLK_z)
GLOB_INT("SDLK_CAPSLOCK",SDLK_CAPSLOCK)
GLOB_INT("SDLK_F1",SDLK_F1)
GLOB_INT("SDLK_F2",SDLK_F2)
GLOB_INT("SDLK_F3",SDLK_F3)
GLOB_INT("SDLK_F4",SDLK_F4)
GLOB_INT("SDLK_F5",SDLK_F5)
GLOB_INT("SDLK_F6",SDLK_F6)
GLOB_INT("SDLK_F7",SDLK_F7)
GLOB_INT("SDLK_F8",SDLK_F8)
GLOB_INT("SDLK_F9",SDLK_F9)
GLOB_INT("SDLK_F10",SDLK_F10)
GLOB_INT("SDLK_F11",SDLK_F11)
GLOB_INT("SDLK_F12",SDLK_F12)
GLOB_INT("SDLK_PRINTSCREEN",SDLK_PRINTSCREEN)
GLOB_INT("SDLK_SCROLLLOCK",SDLK_SCROLLLOCK)
GLOB_INT("SDLK_PAUSE",SDLK_PAUSE)
GLOB_INT("SDLK_INSERT",SDLK_INSERT)
GLOB_INT("SDLK_HOME",SDLK_HOME)
GLOB_INT("SDLK_PAGEUP",SDLK_PAGEUP)
GLOB_INT("SDLK_DELETE",SDLK_DELETE)
GLOB_INT("SDLK_END",SDLK_END)
GLOB_INT("SDLK_PAGEDOWN",SDLK_PAGEDOWN)
GLOB_INT("SDLK_RIGHT",SDLK_RIGHT)
GLOB_INT("SDLK_LEFT",SDLK_LEFT)
GLOB_INT("SDLK_DOWN",SDLK_DOWN)
GLOB_INT("SDLK_UP",SDLK_UP)
GLOB_INT("SDLK_NUMLOCKCLEAR",SDLK_NUMLOCKCLEAR)
GLOB_INT("SDLK_KP_DIVIDE",SDLK_KP_DIVIDE)
GLOB_INT("SDLK_KP_MULTIPLY",SDLK_KP_MULTIPLY)
GLOB_INT("SDLK_KP_MINUS",SDLK_KP_MINUS)
GLOB_INT("SDLK_KP_PLUS",SDLK_KP_PLUS)
GLOB_INT("SDLK_KP_ENTER",SDLK_KP_ENTER)
GLOB_INT("SDLK_KP_1",SDLK_KP_1)
GLOB_INT("SDLK_KP_2",SDLK_KP_2)
GLOB_INT("SDLK_KP_3",SDLK_KP_3)
GLOB_INT("SDLK_KP_4",SDLK_KP_4)
GLOB_INT("SDLK_KP_5",SDLK_KP_5)
GLOB_INT("SDLK_KP_6",SDLK_KP_6)
GLOB_INT("SDLK_KP_7",SDLK_KP_7)
GLOB_INT("SDLK_KP_8",SDLK_KP_8)
GLOB_INT("SDLK_KP_9",SDLK_KP_9)
GLOB_INT("SDLK_KP_0",SDLK_KP_0)
GLOB_INT("SDLK_KP_PERIOD",SDLK_KP_PERIOD)
GLOB_INT("SDLK_APPLICATION",SDLK_APPLICATION)
GLOB_INT("SDLK_POWER",SDLK_POWER)
GLOB_INT("SDLK_KP_EQUALS",SDLK_KP_EQUALS)
GLOB_INT("SDLK_F13",SDLK_F13)
GLOB_INT("SDLK_F14",SDLK_F14)
GLOB_INT("SDLK_F15",SDLK_F15)
GLOB_INT("SDLK_F16",SDLK_F16)
GLOB_INT("SDLK_F17",SDLK_F17)
GLOB_INT("SDLK_F18",SDLK_F18)
GLOB_INT("SDLK_F19",SDLK_F19)
GLOB_INT("SDLK_F20",SDLK_F20)
GLOB_INT("SDLK_F21",SDLK_F21)
GLOB_INT("SDLK_F22",SDLK_F22)
GLOB_INT("SDLK_F23",SDLK_F23)
GLOB_INT("SDLK_F24",SDLK_F24)
GLOB_INT("SDLK_EXECUTE",SDLK_EXECUTE)
GLOB_INT("SDLK_HELP",SDLK_HELP)
GLOB_INT("SDLK_MENU",SDLK_MENU)
GLOB_INT("SDLK_SELECT",SDLK_SELECT)
GLOB_INT("SDLK_STOP",SDLK_STOP)
GLOB_INT("SDLK_AGAIN",SDLK_AGAIN)
GLOB_INT("SDLK_UNDO",SDLK_UNDO)
GLOB_INT("SDLK_CUT",SDLK_CUT)
GLOB_INT("SDLK_COPY",SDLK_COPY)
GLOB_INT("SDLK_PASTE",SDLK_PASTE)
GLOB_INT("SDLK_FIND",SDLK_FIND)
GLOB_INT("SDLK_MUTE",SDLK_MUTE)
GLOB_INT("SDLK_VOLUMEUP",SDLK_VOLUMEUP)
GLOB_INT("SDLK_VOLUMEDOWN",SDLK_VOLUMEDOWN)
GLOB_INT("SDLK_KP_COMMA",SDLK_KP_COMMA)
GLOB_INT("SDLK_KP_EQUALSAS400",SDLK_KP_EQUALSAS400)
GLOB_INT("SDLK_ALTERASE",SDLK_ALTERASE)
GLOB_INT("SDLK_SYSREQ",SDLK_SYSREQ)
GLOB_INT("SDLK_CANCEL",SDLK_CANCEL)
GLOB_INT("SDLK_CLEAR",SDLK_CLEAR)
GLOB_INT("SDLK_PRIOR",SDLK_PRIOR)
GLOB_INT("SDLK_RETURN2",SDLK_RETURN2)
GLOB_INT("SDLK_SEPARATOR",SDLK_SEPARATOR)
GLOB_INT("SDLK_OUT",SDLK_OUT)
GLOB_INT("SDLK_OPER",SDLK_OPER)
GLOB_INT("SDLK_CLEARAGAIN",SDLK_CLEARAGAIN)
GLOB_INT("SDLK_CRSEL",SDLK_CRSEL)
GLOB_INT("SDLK_EXSEL",SDLK_EXSEL)
GLOB_INT("SDLK_KP_00",SDLK_KP_00)
GLOB_INT("SDLK_KP_000",SDLK_KP_000)
GLOB_INT("SDLK_THOUSANDSSEPARATOR",SDLK_THOUSANDSSEPARATOR)
GLOB_INT("SDLK_DECIMALSEPARATOR",SDLK_DECIMALSEPARATOR)
GLOB_INT("SDLK_CURRENCYUNIT",SDLK_CURRENCYUNIT)
GLOB_INT("SDLK_CURRENCYSUBUNIT",SDLK_CURRENCYSUBUNIT)
GLOB_INT("SDLK_KP_LEFTPAREN",SDLK_KP_LEFTPAREN)
GLOB_INT("SDLK_KP_RIGHTPAREN",SDLK_KP_RIGHTPAREN)
GLOB_INT("SDLK_KP_LEFTBRACE",SDLK_KP_LEFTBRACE)
GLOB_INT("SDLK_KP_RIGHTBRACE",SDLK_KP_RIGHTBRACE)
GLOB_INT("SDLK_KP_TAB",SDLK_KP_TAB)
GLOB_INT("SDLK_KP_BACKSPACE",SDLK_KP_BACKSPACE)
GLOB_INT("SDLK_KP_A",SDLK_KP_A)
GLOB_INT("SDLK_KP_B",SDLK_KP_B)
GLOB_INT("SDLK_KP_C",SDLK_KP_C)
GLOB_INT("SDLK_KP_D",SDLK_KP_D)
GLOB_INT("SDLK_KP_E",SDLK_KP_E)
GLOB_INT("SDLK_KP_F",SDLK_KP_F)
GLOB_INT("SDLK_KP_XOR",SDLK_KP_XOR)
GLOB_INT("SDLK_KP_POWER",SDLK_KP_POWER)
GLOB_INT("SDLK_KP_PERCENT",SDLK_KP_PERCENT)
GLOB_INT("SDLK_KP_LESS",SDLK_KP_LESS)
GLOB_INT("SDLK_KP_GREATER",SDLK_KP_GREATER)
GLOB_INT("SDLK_KP_AMPERSAND",SDLK_KP_AMPERSAND)
GLOB_INT("SDLK_KP_DBLAMPERSAND",SDLK_KP_DBLAMPERSAND)
GLOB_INT("SDLK_KP_VERTICALBAR",SDLK_KP_VERTICALBAR)
GLOB_INT("SDLK_KP_DBLVERTICALBAR",SDLK_KP_DBLVERTICALBAR)
GLOB_INT("SDLK_KP_COLON",SDLK_KP_COLON)
GLOB_INT("SDLK_KP_HASH",SDLK_KP_HASH)
GLOB_INT("SDLK_KP_SPACE",SDLK_KP_SPACE)
GLOB_INT("SDLK_KP_AT",SDLK_KP_AT)
GLOB_INT("SDLK_KP_EXCLAM",SDLK_KP_EXCLAM)
GLOB_INT("SDLK_KP_MEMSTORE",SDLK_KP_MEMSTORE)
GLOB_INT("SDLK_KP_MEMRECALL",SDLK_KP_MEMRECALL)
GLOB_INT("SDLK_KP_MEMCLEAR",SDLK_KP_MEMCLEAR)
GLOB_INT("SDLK_KP_MEMADD",SDLK_KP_MEMADD)
GLOB_INT("SDLK_KP_MEMSUBTRACT",SDLK_KP_MEMSUBTRACT)
GLOB_INT("SDLK_KP_MEMMULTIPLY",SDLK_KP_MEMMULTIPLY)
GLOB_INT("SDLK_KP_MEMDIVIDE",SDLK_KP_MEMDIVIDE)
GLOB_INT("SDLK_KP_PLUSMINUS",SDLK_KP_PLUSMINUS)
GLOB_INT("SDLK_KP_CLEAR",SDLK_KP_CLEAR)
GLOB_INT("SDLK_KP_CLEARENTRY",SDLK_KP_CLEARENTRY)
GLOB_INT("SDLK_KP_BINARY",SDLK_KP_BINARY)
GLOB_INT("SDLK_KP_OCTAL",SDLK_KP_OCTAL)
GLOB_INT("SDLK_KP_DECIMAL",SDLK_KP_DECIMAL)
GLOB_INT("SDLK_KP_HEXADECIMAL",SDLK_KP_HEXADECIMAL)
GLOB_INT("SDLK_LCTRL",SDLK_LCTRL)
GLOB_INT("SDLK_LSHIFT",SDLK_LSHIFT)
GLOB_INT("SDLK_LALT",SDLK_LALT)
GLOB_INT("SDLK_LGUI",SDLK_LGUI)
GLOB_INT("SDLK_RCTRL",SDLK_RCTRL)
GLOB_INT("SDLK_RSHIFT",SDLK_RSHIFT)
GLOB_INT("SDLK_RALT",SDLK_RALT)
GLOB_INT("SDLK_RGUI",SDLK_RGUI)
GLOB_INT("SDLK_MODE",SDLK_MODE)
GLOB_INT("SDLK_AUDIONEXT",SDLK_AUDIONEXT)
GLOB_INT("SDLK_AUDIOPREV",SDLK_AUDIOPREV)
GLOB_INT("SDLK_AUDIOSTOP",SDLK_AUDIOSTOP)
GLOB_INT("SDLK_AUDIOPLAY",SDLK_AUDIOPLAY)
GLOB_INT("SDLK_AUDIOMUTE",SDLK_AUDIOMUTE)
GLOB_INT("SDLK_MEDIASELECT",SDLK_MEDIASELECT)
GLOB_INT("SDLK_WWW",SDLK_WWW)
GLOB_INT("SDLK_MAIL",SDLK_MAIL)
GLOB_INT("SDLK_CALCULATOR",SDLK_CALCULATOR)
GLOB_INT("SDLK_COMPUTER",SDLK_COMPUTER)
GLOB_INT("SDLK_AC_SEARCH",SDLK_AC_SEARCH)
GLOB_INT("SDLK_AC_HOME",SDLK_AC_HOME)
GLOB_INT("SDLK_AC_BACK",SDLK_AC_BACK)
GLOB_INT("SDLK_AC_FORWARD",SDLK_AC_FORWARD)
GLOB_INT("SDLK_AC_STOP",SDLK_AC_STOP)
GLOB_INT("SDLK_AC_REFRESH",SDLK_AC_REFRESH)
GLOB_INT("SDLK_AC_BOOKMARKS",SDLK_AC_BOOKMARKS)
GLOB_INT("SDLK_BRIGHTNESSDOWN",SDLK_BRIGHTNESSDOWN)
GLOB_INT("SDLK_BRIGHTNESSUP",SDLK_BRIGHTNESSUP)
GLOB_INT("SDLK_DISPLAYSWITCH",SDLK_DISPLAYSWITCH)
GLOB_INT("SDLK_KBDILLUMTOGGLE",SDLK_KBDILLUMTOGGLE)
GLOB_INT("SDLK_KBDILLUMDOWN",SDLK_KBDILLUMDOWN)
GLOB_INT("SDLK_KBDILLUMUP",SDLK_KBDILLUMUP)
GLOB_INT("SDLK_EJECT",SDLK_EJECT)
GLOB_INT("SDLK_SLEEP",SDLK_SLEEP)