Public Types | |
enum | state_t { Pressed = SDL_PRESSED, Released = SDL_RELEASED } |
enum | mod_t { KMOD_ANY = 0xffff } |
Public Member Functions | |
Key_event (SDLKey key, state_t state=Pressed, int mod=KMOD_NONE) | |
bool | is_activated (void) const |
void | set_activated (bool activate) |
Friends | |
class | Input_events |