19 key_list(SDL_GetKeyboardState(nullptr))
25 return key_list[SDL_GetScancodeFromKey(k)] > 0;
30 switch (event.keysym.sym) {
80 case SDLK_KP_AMPERSAND:
82 case SDLK_KP_BACKSPACE:
85 case SDLK_KP_CLEARENTRY:
88 case SDLK_KP_DBLAMPERSAND:
89 case SDLK_KP_DBLVERTICALBAR:
94 case SDLK_KP_EQUALSAS400:
98 case SDLK_KP_HEXADECIMAL:
99 case SDLK_KP_LEFTBRACE:
100 case SDLK_KP_LEFTPAREN:
103 case SDLK_KP_MEMCLEAR:
104 case SDLK_KP_MEMDIVIDE:
105 case SDLK_KP_MEMMULTIPLY:
106 case SDLK_KP_MEMRECALL:
107 case SDLK_KP_MEMSTORE:
108 case SDLK_KP_MEMSUBTRACT:
110 case SDLK_KP_MULTIPLY:
112 case SDLK_KP_PERCENT:
115 case SDLK_KP_PLUSMINUS:
117 case SDLK_KP_RIGHTBRACE:
118 case SDLK_KP_RIGHTPAREN:
121 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...