79 #ifndef GUI_SDLINPUT_H
80 #define GUI_SDLINPUT_H
89 PRAGMA48(GCC diagnostic ignored
"-Wshadow")
90 #include <SDL_events.h>
160 const SDL_keysym keysym =
event.key.keysym;
162 int value = keysym.scancode;
165 int value = keysym.unicode;
169 PRAGMA45(GCC diagnostic ignored
"-Wswitch-enum")
205 if (event.type == SDL_KEYUP ||
206 keysym.unicode ==
' ')
333 if ((
CAST_U32(keysym.mod) & KMOD_NUM) == 0U)
336 PRAGMA45(GCC diagnostic ignored
"-Wswitch-enum")
PRAGMA45(GCC diagnostic push) PRAGMA45(GCC diagnostic ignored "-Wredundant-decls") PRAGMA45(GCC diagnostic pop) class TestMain
#define A_DELETE_COPY(func)