diff options
Diffstat (limited to 'sdl_keysym.h')
-rw-r--r-- | sdl_keysym.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sdl_keysym.h b/sdl_keysym.h index 9a74142..c213ef8 100644 --- a/sdl_keysym.h +++ b/sdl_keysym.h @@ -1,8 +1,7 @@ -typedef struct { - const char* name; - int keysym; -} name2keysym_t; -static name2keysym_t name2keysym[]={ + +#include "keymaps.h" + +static const name2keysym_t name2keysym[]={ /* ascii */ { "space", 0x020}, { "exclam", 0x021}, |