1 2 // Copyright 2018 - 2021 Michael D. Parker 3 // Distributed under the Boost Software License, Version 1.0. 4 // (See accompanying file LICENSE_1_0.txt or copy at 5 // http://www.boost.org/LICENSE_1_0.txt) 6 7 module bindbc.sdl.bind.sdlscancode; 8 9 import bindbc.sdl.config; 10 11 static if(sdlSupport >= SDLSupport.sdl206) { 12 enum SDL_Scancode { 13 SDL_SCANCODE_UNKNOWN = 0, 14 15 SDL_SCANCODE_A = 4, 16 SDL_SCANCODE_B = 5, 17 SDL_SCANCODE_C = 6, 18 SDL_SCANCODE_D = 7, 19 SDL_SCANCODE_E = 8, 20 SDL_SCANCODE_F = 9, 21 SDL_SCANCODE_G = 10, 22 SDL_SCANCODE_H = 11, 23 SDL_SCANCODE_I = 12, 24 SDL_SCANCODE_J = 13, 25 SDL_SCANCODE_K = 14, 26 SDL_SCANCODE_L = 15, 27 SDL_SCANCODE_M = 16, 28 SDL_SCANCODE_N = 17, 29 SDL_SCANCODE_O = 18, 30 SDL_SCANCODE_P = 19, 31 SDL_SCANCODE_Q = 20, 32 SDL_SCANCODE_R = 21, 33 SDL_SCANCODE_S = 22, 34 SDL_SCANCODE_T = 23, 35 SDL_SCANCODE_U = 24, 36 SDL_SCANCODE_V = 25, 37 SDL_SCANCODE_W = 26, 38 SDL_SCANCODE_X = 27, 39 SDL_SCANCODE_Y = 28, 40 SDL_SCANCODE_Z = 29, 41 42 SDL_SCANCODE_1 = 30, 43 SDL_SCANCODE_2 = 31, 44 SDL_SCANCODE_3 = 32, 45 SDL_SCANCODE_4 = 33, 46 SDL_SCANCODE_5 = 34, 47 SDL_SCANCODE_6 = 35, 48 SDL_SCANCODE_7 = 36, 49 SDL_SCANCODE_8 = 37, 50 SDL_SCANCODE_9 = 38, 51 SDL_SCANCODE_0 = 39, 52 53 SDL_SCANCODE_RETURN = 40, 54 SDL_SCANCODE_ESCAPE = 41, 55 SDL_SCANCODE_BACKSPACE = 42, 56 SDL_SCANCODE_TAB = 43, 57 SDL_SCANCODE_SPACE = 44, 58 59 SDL_SCANCODE_MINUS = 45, 60 SDL_SCANCODE_EQUALS = 46, 61 SDL_SCANCODE_LEFTBRACKET = 47, 62 SDL_SCANCODE_RIGHTBRACKET = 48, 63 SDL_SCANCODE_BACKSLASH = 49, 64 SDL_SCANCODE_NONUSHASH = 50, 65 SDL_SCANCODE_SEMICOLON = 51, 66 SDL_SCANCODE_APOSTROPHE = 52, 67 SDL_SCANCODE_GRAVE = 53, 68 SDL_SCANCODE_COMMA = 54, 69 SDL_SCANCODE_PERIOD = 55, 70 SDL_SCANCODE_SLASH = 56, 71 72 SDL_SCANCODE_CAPSLOCK = 57, 73 74 SDL_SCANCODE_F1 = 58, 75 SDL_SCANCODE_F2 = 59, 76 SDL_SCANCODE_F3 = 60, 77 SDL_SCANCODE_F4 = 61, 78 SDL_SCANCODE_F5 = 62, 79 SDL_SCANCODE_F6 = 63, 80 SDL_SCANCODE_F7 = 64, 81 SDL_SCANCODE_F8 = 65, 82 SDL_SCANCODE_F9 = 66, 83 SDL_SCANCODE_F10 = 67, 84 SDL_SCANCODE_F11 = 68, 85 SDL_SCANCODE_F12 = 69, 86 87 SDL_SCANCODE_PRINTSCREEN = 70, 88 SDL_SCANCODE_SCROLLLOCK = 71, 89 SDL_SCANCODE_PAUSE = 72, 90 SDL_SCANCODE_INSERT = 73, 91 SDL_SCANCODE_HOME = 74, 92 SDL_SCANCODE_PAGEUP = 75, 93 SDL_SCANCODE_DELETE = 76, 94 SDL_SCANCODE_END = 77, 95 SDL_SCANCODE_PAGEDOWN = 78, 96 SDL_SCANCODE_RIGHT = 79, 97 SDL_SCANCODE_LEFT = 80, 98 SDL_SCANCODE_DOWN = 81, 99 SDL_SCANCODE_UP = 82, 100 101 SDL_SCANCODE_NUMLOCKCLEAR = 83, 102 SDL_SCANCODE_KP_DIVIDE = 84, 103 SDL_SCANCODE_KP_MULTIPLY = 85, 104 SDL_SCANCODE_KP_MINUS = 86, 105 SDL_SCANCODE_KP_PLUS = 87, 106 SDL_SCANCODE_KP_ENTER = 88, 107 SDL_SCANCODE_KP_1 = 89, 108 SDL_SCANCODE_KP_2 = 90, 109 SDL_SCANCODE_KP_3 = 91, 110 SDL_SCANCODE_KP_4 = 92, 111 SDL_SCANCODE_KP_5 = 93, 112 SDL_SCANCODE_KP_6 = 94, 113 SDL_SCANCODE_KP_7 = 95, 114 SDL_SCANCODE_KP_8 = 96, 115 SDL_SCANCODE_KP_9 = 97, 116 SDL_SCANCODE_KP_0 = 98, 117 SDL_SCANCODE_KP_PERIOD = 99, 118 119 SDL_SCANCODE_NONUSBACKSLASH = 100, 120 SDL_SCANCODE_APPLICATION = 101, 121 SDL_SCANCODE_POWER = 102, 122 SDL_SCANCODE_KP_EQUALS = 103, 123 SDL_SCANCODE_F13 = 104, 124 SDL_SCANCODE_F14 = 105, 125 SDL_SCANCODE_F15 = 106, 126 SDL_SCANCODE_F16 = 107, 127 SDL_SCANCODE_F17 = 108, 128 SDL_SCANCODE_F18 = 109, 129 SDL_SCANCODE_F19 = 110, 130 SDL_SCANCODE_F20 = 111, 131 SDL_SCANCODE_F21 = 112, 132 SDL_SCANCODE_F22 = 113, 133 SDL_SCANCODE_F23 = 114, 134 SDL_SCANCODE_F24 = 115, 135 SDL_SCANCODE_EXECUTE = 116, 136 SDL_SCANCODE_HELP = 117, 137 SDL_SCANCODE_MENU = 118, 138 SDL_SCANCODE_SELECT = 119, 139 SDL_SCANCODE_STOP = 120, 140 SDL_SCANCODE_AGAIN = 121, 141 SDL_SCANCODE_UNDO = 122, 142 SDL_SCANCODE_CUT = 123, 143 SDL_SCANCODE_COPY = 124, 144 SDL_SCANCODE_PASTE = 125, 145 SDL_SCANCODE_FIND = 126, 146 SDL_SCANCODE_MUTE = 127, 147 SDL_SCANCODE_VOLUMEUP = 128, 148 SDL_SCANCODE_VOLUMEDOWN = 129, 149 SDL_SCANCODE_KP_COMMA = 133, 150 SDL_SCANCODE_KP_EQUALSAS400 = 134, 151 152 SDL_SCANCODE_INTERNATIONAL1 = 135, 153 SDL_SCANCODE_INTERNATIONAL2 = 136, 154 SDL_SCANCODE_INTERNATIONAL3 = 137, 155 SDL_SCANCODE_INTERNATIONAL4 = 138, 156 SDL_SCANCODE_INTERNATIONAL5 = 139, 157 SDL_SCANCODE_INTERNATIONAL6 = 140, 158 SDL_SCANCODE_INTERNATIONAL7 = 141, 159 SDL_SCANCODE_INTERNATIONAL8 = 142, 160 SDL_SCANCODE_INTERNATIONAL9 = 143, 161 SDL_SCANCODE_LANG1 = 144, 162 SDL_SCANCODE_LANG2 = 145, 163 SDL_SCANCODE_LANG3 = 146, 164 SDL_SCANCODE_LANG4 = 147, 165 SDL_SCANCODE_LANG5 = 148, 166 SDL_SCANCODE_LANG6 = 149, 167 SDL_SCANCODE_LANG7 = 150, 168 SDL_SCANCODE_LANG8 = 151, 169 SDL_SCANCODE_LANG9 = 152, 170 171 SDL_SCANCODE_ALTERASE = 153, 172 SDL_SCANCODE_SYSREQ = 154, 173 SDL_SCANCODE_CANCEL = 155, 174 SDL_SCANCODE_CLEAR = 156, 175 SDL_SCANCODE_PRIOR = 157, 176 SDL_SCANCODE_RETURN2 = 158, 177 SDL_SCANCODE_SEPARATOR = 159, 178 SDL_SCANCODE_OUT = 160, 179 SDL_SCANCODE_OPER = 161, 180 SDL_SCANCODE_CLEARAGAIN = 162, 181 SDL_SCANCODE_CRSEL = 163, 182 SDL_SCANCODE_EXSEL = 164, 183 184 SDL_SCANCODE_KP_00 = 176, 185 SDL_SCANCODE_KP_000 = 177, 186 SDL_SCANCODE_THOUSANDSSEPARATOR = 178, 187 SDL_SCANCODE_DECIMALSEPARATOR = 179, 188 SDL_SCANCODE_CURRENCYUNIT = 180, 189 SDL_SCANCODE_CURRENCYSUBUNIT = 181, 190 SDL_SCANCODE_KP_LEFTPAREN = 182, 191 SDL_SCANCODE_KP_RIGHTPAREN = 183, 192 SDL_SCANCODE_KP_LEFTBRACE = 184, 193 SDL_SCANCODE_KP_RIGHTBRACE = 185, 194 SDL_SCANCODE_KP_TAB = 186, 195 SDL_SCANCODE_KP_BACKSPACE = 187, 196 SDL_SCANCODE_KP_A = 188, 197 SDL_SCANCODE_KP_B = 189, 198 SDL_SCANCODE_KP_C = 190, 199 SDL_SCANCODE_KP_D = 191, 200 SDL_SCANCODE_KP_E = 192, 201 SDL_SCANCODE_KP_F = 193, 202 SDL_SCANCODE_KP_XOR = 194, 203 SDL_SCANCODE_KP_POWER = 195, 204 SDL_SCANCODE_KP_PERCENT = 196, 205 SDL_SCANCODE_KP_LESS = 197, 206 SDL_SCANCODE_KP_GREATER = 198, 207 SDL_SCANCODE_KP_AMPERSAND = 199, 208 SDL_SCANCODE_KP_DBLAMPERSAND = 200, 209 SDL_SCANCODE_KP_VERTICALBAR = 201, 210 SDL_SCANCODE_KP_DBLVERTICALBAR = 202, 211 SDL_SCANCODE_KP_COLON = 203, 212 SDL_SCANCODE_KP_HASH = 204, 213 SDL_SCANCODE_KP_SPACE = 205, 214 SDL_SCANCODE_KP_AT = 206, 215 SDL_SCANCODE_KP_EXCLAM = 207, 216 SDL_SCANCODE_KP_MEMSTORE = 208, 217 SDL_SCANCODE_KP_MEMRECALL = 209, 218 SDL_SCANCODE_KP_MEMCLEAR = 210, 219 SDL_SCANCODE_KP_MEMADD = 211, 220 SDL_SCANCODE_KP_MEMSUBTRACT = 212, 221 SDL_SCANCODE_KP_MEMMULTIPLY = 213, 222 SDL_SCANCODE_KP_MEMDIVIDE = 214, 223 SDL_SCANCODE_KP_PLUSMINUS = 215, 224 SDL_SCANCODE_KP_CLEAR = 216, 225 SDL_SCANCODE_KP_CLEARENTRY = 217, 226 SDL_SCANCODE_KP_BINARY = 218, 227 SDL_SCANCODE_KP_OCTAL = 219, 228 SDL_SCANCODE_KP_DECIMAL = 220, 229 SDL_SCANCODE_KP_HEXADECIMAL = 221, 230 231 SDL_SCANCODE_LCTRL = 224, 232 SDL_SCANCODE_LSHIFT = 225, 233 SDL_SCANCODE_LALT = 226, 234 SDL_SCANCODE_LGUI = 227, 235 SDL_SCANCODE_RCTRL = 228, 236 SDL_SCANCODE_RSHIFT = 229, 237 SDL_SCANCODE_RALT = 230, 238 SDL_SCANCODE_RGUI = 231, 239 240 SDL_SCANCODE_MODE = 257, 241 242 SDL_SCANCODE_AUDIONEXT = 258, 243 SDL_SCANCODE_AUDIOPREV = 259, 244 SDL_SCANCODE_AUDIOSTOP = 260, 245 SDL_SCANCODE_AUDIOPLAY = 261, 246 SDL_SCANCODE_AUDIOMUTE = 262, 247 SDL_SCANCODE_MEDIASELECT = 263, 248 SDL_SCANCODE_WWW = 264, 249 SDL_SCANCODE_MAIL = 265, 250 SDL_SCANCODE_CALCULATOR = 266, 251 SDL_SCANCODE_COMPUTER = 267, 252 SDL_SCANCODE_AC_SEARCH = 268, 253 SDL_SCANCODE_AC_HOME = 269, 254 SDL_SCANCODE_AC_BACK = 270, 255 SDL_SCANCODE_AC_FORWARD = 271, 256 SDL_SCANCODE_AC_STOP = 272, 257 SDL_SCANCODE_AC_REFRESH = 273, 258 SDL_SCANCODE_AC_BOOKMARKS = 274, 259 260 SDL_SCANCODE_BRIGHTNESSDOWN = 275, 261 SDL_SCANCODE_BRIGHTNESSUP = 276, 262 SDL_SCANCODE_DISPLAYSWITCH = 277, 263 SDL_SCANCODE_KBDILLUMTOGGLE = 278, 264 SDL_SCANCODE_KBDILLUMDOWN = 279, 265 SDL_SCANCODE_KBDILLUMUP = 280, 266 SDL_SCANCODE_EJECT = 281, 267 SDL_SCANCODE_SLEEP = 282, 268 269 SDL_SCANCODE_APP1 = 283, 270 SDL_SCANCODE_APP2 = 284, 271 272 SDL_SCANCODE_AUDIOREWIND = 285, 273 SDL_SCANCODE_AUDIOFASTFORWARD = 286, 274 275 SDL_NUM_SCANCODES = 512 276 } 277 } 278 else { 279 enum SDL_Scancode { 280 SDL_SCANCODE_UNKNOWN = 0, 281 282 SDL_SCANCODE_A = 4, 283 SDL_SCANCODE_B = 5, 284 SDL_SCANCODE_C = 6, 285 SDL_SCANCODE_D = 7, 286 SDL_SCANCODE_E = 8, 287 SDL_SCANCODE_F = 9, 288 SDL_SCANCODE_G = 10, 289 SDL_SCANCODE_H = 11, 290 SDL_SCANCODE_I = 12, 291 SDL_SCANCODE_J = 13, 292 SDL_SCANCODE_K = 14, 293 SDL_SCANCODE_L = 15, 294 SDL_SCANCODE_M = 16, 295 SDL_SCANCODE_N = 17, 296 SDL_SCANCODE_O = 18, 297 SDL_SCANCODE_P = 19, 298 SDL_SCANCODE_Q = 20, 299 SDL_SCANCODE_R = 21, 300 SDL_SCANCODE_S = 22, 301 SDL_SCANCODE_T = 23, 302 SDL_SCANCODE_U = 24, 303 SDL_SCANCODE_V = 25, 304 SDL_SCANCODE_W = 26, 305 SDL_SCANCODE_X = 27, 306 SDL_SCANCODE_Y = 28, 307 SDL_SCANCODE_Z = 29, 308 309 SDL_SCANCODE_1 = 30, 310 SDL_SCANCODE_2 = 31, 311 SDL_SCANCODE_3 = 32, 312 SDL_SCANCODE_4 = 33, 313 SDL_SCANCODE_5 = 34, 314 SDL_SCANCODE_6 = 35, 315 SDL_SCANCODE_7 = 36, 316 SDL_SCANCODE_8 = 37, 317 SDL_SCANCODE_9 = 38, 318 SDL_SCANCODE_0 = 39, 319 320 SDL_SCANCODE_RETURN = 40, 321 SDL_SCANCODE_ESCAPE = 41, 322 SDL_SCANCODE_BACKSPACE = 42, 323 SDL_SCANCODE_TAB = 43, 324 SDL_SCANCODE_SPACE = 44, 325 326 SDL_SCANCODE_MINUS = 45, 327 SDL_SCANCODE_EQUALS = 46, 328 SDL_SCANCODE_LEFTBRACKET = 47, 329 SDL_SCANCODE_RIGHTBRACKET = 48, 330 SDL_SCANCODE_BACKSLASH = 49, 331 SDL_SCANCODE_NONUSHASH = 50, 332 SDL_SCANCODE_SEMICOLON = 51, 333 SDL_SCANCODE_APOSTROPHE = 52, 334 SDL_SCANCODE_GRAVE = 53, 335 SDL_SCANCODE_COMMA = 54, 336 SDL_SCANCODE_PERIOD = 55, 337 SDL_SCANCODE_SLASH = 56, 338 339 SDL_SCANCODE_CAPSLOCK = 57, 340 341 SDL_SCANCODE_F1 = 58, 342 SDL_SCANCODE_F2 = 59, 343 SDL_SCANCODE_F3 = 60, 344 SDL_SCANCODE_F4 = 61, 345 SDL_SCANCODE_F5 = 62, 346 SDL_SCANCODE_F6 = 63, 347 SDL_SCANCODE_F7 = 64, 348 SDL_SCANCODE_F8 = 65, 349 SDL_SCANCODE_F9 = 66, 350 SDL_SCANCODE_F10 = 67, 351 SDL_SCANCODE_F11 = 68, 352 SDL_SCANCODE_F12 = 69, 353 354 SDL_SCANCODE_PRINTSCREEN = 70, 355 SDL_SCANCODE_SCROLLLOCK = 71, 356 SDL_SCANCODE_PAUSE = 72, 357 SDL_SCANCODE_INSERT = 73, 358 SDL_SCANCODE_HOME = 74, 359 SDL_SCANCODE_PAGEUP = 75, 360 SDL_SCANCODE_DELETE = 76, 361 SDL_SCANCODE_END = 77, 362 SDL_SCANCODE_PAGEDOWN = 78, 363 SDL_SCANCODE_RIGHT = 79, 364 SDL_SCANCODE_LEFT = 80, 365 SDL_SCANCODE_DOWN = 81, 366 SDL_SCANCODE_UP = 82, 367 368 SDL_SCANCODE_NUMLOCKCLEAR = 83, 369 SDL_SCANCODE_KP_DIVIDE = 84, 370 SDL_SCANCODE_KP_MULTIPLY = 85, 371 SDL_SCANCODE_KP_MINUS = 86, 372 SDL_SCANCODE_KP_PLUS = 87, 373 SDL_SCANCODE_KP_ENTER = 88, 374 SDL_SCANCODE_KP_1 = 89, 375 SDL_SCANCODE_KP_2 = 90, 376 SDL_SCANCODE_KP_3 = 91, 377 SDL_SCANCODE_KP_4 = 92, 378 SDL_SCANCODE_KP_5 = 93, 379 SDL_SCANCODE_KP_6 = 94, 380 SDL_SCANCODE_KP_7 = 95, 381 SDL_SCANCODE_KP_8 = 96, 382 SDL_SCANCODE_KP_9 = 97, 383 SDL_SCANCODE_KP_0 = 98, 384 SDL_SCANCODE_KP_PERIOD = 99, 385 386 SDL_SCANCODE_NONUSBACKSLASH = 100, 387 SDL_SCANCODE_APPLICATION = 101, 388 SDL_SCANCODE_POWER = 102, 389 SDL_SCANCODE_KP_EQUALS = 103, 390 SDL_SCANCODE_F13 = 104, 391 SDL_SCANCODE_F14 = 105, 392 SDL_SCANCODE_F15 = 106, 393 SDL_SCANCODE_F16 = 107, 394 SDL_SCANCODE_F17 = 108, 395 SDL_SCANCODE_F18 = 109, 396 SDL_SCANCODE_F19 = 110, 397 SDL_SCANCODE_F20 = 111, 398 SDL_SCANCODE_F21 = 112, 399 SDL_SCANCODE_F22 = 113, 400 SDL_SCANCODE_F23 = 114, 401 SDL_SCANCODE_F24 = 115, 402 SDL_SCANCODE_EXECUTE = 116, 403 SDL_SCANCODE_HELP = 117, 404 SDL_SCANCODE_MENU = 118, 405 SDL_SCANCODE_SELECT = 119, 406 SDL_SCANCODE_STOP = 120, 407 SDL_SCANCODE_AGAIN = 121, 408 SDL_SCANCODE_UNDO = 122, 409 SDL_SCANCODE_CUT = 123, 410 SDL_SCANCODE_COPY = 124, 411 SDL_SCANCODE_PASTE = 125, 412 SDL_SCANCODE_FIND = 126, 413 SDL_SCANCODE_MUTE = 127, 414 SDL_SCANCODE_VOLUMEUP = 128, 415 SDL_SCANCODE_VOLUMEDOWN = 129, 416 SDL_SCANCODE_KP_COMMA = 133, 417 SDL_SCANCODE_KP_EQUALSAS400 = 134, 418 419 SDL_SCANCODE_INTERNATIONAL1 = 135, 420 SDL_SCANCODE_INTERNATIONAL2 = 136, 421 SDL_SCANCODE_INTERNATIONAL3 = 137, 422 SDL_SCANCODE_INTERNATIONAL4 = 138, 423 SDL_SCANCODE_INTERNATIONAL5 = 139, 424 SDL_SCANCODE_INTERNATIONAL6 = 140, 425 SDL_SCANCODE_INTERNATIONAL7 = 141, 426 SDL_SCANCODE_INTERNATIONAL8 = 142, 427 SDL_SCANCODE_INTERNATIONAL9 = 143, 428 SDL_SCANCODE_LANG1 = 144, 429 SDL_SCANCODE_LANG2 = 145, 430 SDL_SCANCODE_LANG3 = 146, 431 SDL_SCANCODE_LANG4 = 147, 432 SDL_SCANCODE_LANG5 = 148, 433 SDL_SCANCODE_LANG6 = 149, 434 SDL_SCANCODE_LANG7 = 150, 435 SDL_SCANCODE_LANG8 = 151, 436 SDL_SCANCODE_LANG9 = 152, 437 438 SDL_SCANCODE_ALTERASE = 153, 439 SDL_SCANCODE_SYSREQ = 154, 440 SDL_SCANCODE_CANCEL = 155, 441 SDL_SCANCODE_CLEAR = 156, 442 SDL_SCANCODE_PRIOR = 157, 443 SDL_SCANCODE_RETURN2 = 158, 444 SDL_SCANCODE_SEPARATOR = 159, 445 SDL_SCANCODE_OUT = 160, 446 SDL_SCANCODE_OPER = 161, 447 SDL_SCANCODE_CLEARAGAIN = 162, 448 SDL_SCANCODE_CRSEL = 163, 449 SDL_SCANCODE_EXSEL = 164, 450 451 SDL_SCANCODE_KP_00 = 176, 452 SDL_SCANCODE_KP_000 = 177, 453 SDL_SCANCODE_THOUSANDSSEPARATOR = 178, 454 SDL_SCANCODE_DECIMALSEPARATOR = 179, 455 SDL_SCANCODE_CURRENCYUNIT = 180, 456 SDL_SCANCODE_CURRENCYSUBUNIT = 181, 457 SDL_SCANCODE_KP_LEFTPAREN = 182, 458 SDL_SCANCODE_KP_RIGHTPAREN = 183, 459 SDL_SCANCODE_KP_LEFTBRACE = 184, 460 SDL_SCANCODE_KP_RIGHTBRACE = 185, 461 SDL_SCANCODE_KP_TAB = 186, 462 SDL_SCANCODE_KP_BACKSPACE = 187, 463 SDL_SCANCODE_KP_A = 188, 464 SDL_SCANCODE_KP_B = 189, 465 SDL_SCANCODE_KP_C = 190, 466 SDL_SCANCODE_KP_D = 191, 467 SDL_SCANCODE_KP_E = 192, 468 SDL_SCANCODE_KP_F = 193, 469 SDL_SCANCODE_KP_XOR = 194, 470 SDL_SCANCODE_KP_POWER = 195, 471 SDL_SCANCODE_KP_PERCENT = 196, 472 SDL_SCANCODE_KP_LESS = 197, 473 SDL_SCANCODE_KP_GREATER = 198, 474 SDL_SCANCODE_KP_AMPERSAND = 199, 475 SDL_SCANCODE_KP_DBLAMPERSAND = 200, 476 SDL_SCANCODE_KP_VERTICALBAR = 201, 477 SDL_SCANCODE_KP_DBLVERTICALBAR = 202, 478 SDL_SCANCODE_KP_COLON = 203, 479 SDL_SCANCODE_KP_HASH = 204, 480 SDL_SCANCODE_KP_SPACE = 205, 481 SDL_SCANCODE_KP_AT = 206, 482 SDL_SCANCODE_KP_EXCLAM = 207, 483 SDL_SCANCODE_KP_MEMSTORE = 208, 484 SDL_SCANCODE_KP_MEMRECALL = 209, 485 SDL_SCANCODE_KP_MEMCLEAR = 210, 486 SDL_SCANCODE_KP_MEMADD = 211, 487 SDL_SCANCODE_KP_MEMSUBTRACT = 212, 488 SDL_SCANCODE_KP_MEMMULTIPLY = 213, 489 SDL_SCANCODE_KP_MEMDIVIDE = 214, 490 SDL_SCANCODE_KP_PLUSMINUS = 215, 491 SDL_SCANCODE_KP_CLEAR = 216, 492 SDL_SCANCODE_KP_CLEARENTRY = 217, 493 SDL_SCANCODE_KP_BINARY = 218, 494 SDL_SCANCODE_KP_OCTAL = 219, 495 SDL_SCANCODE_KP_DECIMAL = 220, 496 SDL_SCANCODE_KP_HEXADECIMAL = 221, 497 498 SDL_SCANCODE_LCTRL = 224, 499 SDL_SCANCODE_LSHIFT = 225, 500 SDL_SCANCODE_LALT = 226, 501 SDL_SCANCODE_LGUI = 227, 502 SDL_SCANCODE_RCTRL = 228, 503 SDL_SCANCODE_RSHIFT = 229, 504 SDL_SCANCODE_RALT = 230, 505 SDL_SCANCODE_RGUI = 231, 506 507 SDL_SCANCODE_MODE = 257, 508 509 SDL_SCANCODE_AUDIONEXT = 258, 510 SDL_SCANCODE_AUDIOPREV = 259, 511 SDL_SCANCODE_AUDIOSTOP = 260, 512 SDL_SCANCODE_AUDIOPLAY = 261, 513 SDL_SCANCODE_AUDIOMUTE = 262, 514 SDL_SCANCODE_MEDIASELECT = 263, 515 SDL_SCANCODE_WWW = 264, 516 SDL_SCANCODE_MAIL = 265, 517 SDL_SCANCODE_CALCULATOR = 266, 518 SDL_SCANCODE_COMPUTER = 267, 519 SDL_SCANCODE_AC_SEARCH = 268, 520 SDL_SCANCODE_AC_HOME = 269, 521 SDL_SCANCODE_AC_BACK = 270, 522 SDL_SCANCODE_AC_FORWARD = 271, 523 SDL_SCANCODE_AC_STOP = 272, 524 SDL_SCANCODE_AC_REFRESH = 273, 525 SDL_SCANCODE_AC_BOOKMARKS = 274, 526 527 SDL_SCANCODE_BRIGHTNESSDOWN = 275, 528 SDL_SCANCODE_BRIGHTNESSUP = 276, 529 SDL_SCANCODE_DISPLAYSWITCH = 277, 530 SDL_SCANCODE_KBDILLUMTOGGLE = 278, 531 SDL_SCANCODE_KBDILLUMDOWN = 279, 532 SDL_SCANCODE_KBDILLUMUP = 280, 533 SDL_SCANCODE_EJECT = 281, 534 SDL_SCANCODE_SLEEP = 282, 535 536 SDL_SCANCODE_APP1 = 283, 537 SDL_SCANCODE_APP2 = 284, 538 539 SDL_NUM_SCANCODES = 512 540 } 541 } 542 mixin(expandEnum!SDL_Scancode);