19 key_list(SDL_GetKeyboardState(nullptr))
25 return key_list[SDL_GetScancodeFromKey(k)] > 0;
30 switch (event.keysym.sym) {
79 case SDLK_KP_AMPERSAND:
81 case SDLK_KP_BACKSPACE:
84 case SDLK_KP_CLEARENTRY:
87 case SDLK_KP_DBLAMPERSAND:
88 case SDLK_KP_DBLVERTICALBAR:
93 case SDLK_KP_EQUALSAS400:
97 case SDLK_KP_HEXADECIMAL:
98 case SDLK_KP_LEFTBRACE:
99 case SDLK_KP_LEFTPAREN:
102 case SDLK_KP_MEMCLEAR:
103 case SDLK_KP_MEMDIVIDE:
104 case SDLK_KP_MEMMULTIPLY:
105 case SDLK_KP_MEMRECALL:
106 case SDLK_KP_MEMSTORE:
107 case SDLK_KP_MEMSUBTRACT:
109 case SDLK_KP_MULTIPLY:
111 case SDLK_KP_PERCENT:
114 case SDLK_KP_PLUSMINUS:
116 case SDLK_KP_RIGHTBRACE:
117 case SDLK_KP_RIGHTPAREN:
120 case SDLK_KP_VERTICALBAR:
static bool is_uncomposable(const SDL_KeyboardEvent &event)
bool operator[](int k) const
This file contains object "key", which is used to store information about keys while annotation parsi...