| 326 | } |
| 327 | |
| 328 | unsigned char GetScanFromKey1(SDL1::SDLKey key){ |
| 329 | for (int i=0; i<static_cast<int>(SDL1_NUM_SCANCODES); i++) |
| 330 | if (SDL1_default_keymap[i] == key) |
| 331 | return static_cast<unsigned char>(i); |
| 332 | return 0; |
| 333 | } |
| 334 | |
| 335 | /* Override */ SDL_Keycode SDL_GetKeyFromScancode(SDL_Scancode scancode) |
| 336 | { |