| 1 | #pragma once |
| 2 | |
| 3 | #include <SDL2/SDL.h> |
| 4 | #ifdef _WIN32 |
| 5 | #include <windows.h> |
| 6 | #endif |
| 7 | #include <stdint.h> |
| 8 | |
| 9 | void readKeyModifiers(void); |
| 10 | void handleKeyRepeat(SDL_Scancode scancode); |
| 11 | void keyUpHandler(SDL_Scancode scancode); |
| 12 | void keyDownHandler(SDL_Scancode scancode, SDL_Keycode keycode); |
| 13 | |
| 14 | #if defined _WIN32 && !defined _DEBUG |
| 15 | LRESULT CALLBACK lowLevelKeyboardProc(int32_t nCode, WPARAM wParam, LPARAM lParam); |
| 16 | #endif |