openMSX
|
#include <Event.hh>
Public Member Functions | |
KeyDownEvent (const SDL_Event &e) | |
![]() | |
bool | getRepeat () const |
SDL_Keycode | getKeyCode () const |
SDL_Scancode | getScanCode () const |
uint16_t | getModifiers () const |
uint32_t | getUnicode () const |
SDLKey | getKey () const |
![]() | |
SdlEvent (const SDL_Event &e) | |
const SDL_Event & | getSdlEvent () const |
const SDL_CommonEvent & | getCommonSdlEvent () const |
Static Public Member Functions | |
static KeyDownEvent | create (SDL_Keycode code, SDL_Keymod mod=KMOD_NONE) |
static KeyDownEvent | create (uint32_t timestamp, unsigned unicode) |
Additional Inherited Members | |
![]() | |
KeyEvent (const SDL_Event &e) | |
![]() | |
SDL_Event | evt |
|
inlineexplicit |
|
inlinestatic |
Definition at line 81 of file Event.hh.
References Math::e, openmsx::SdlEvent::evt, and KeyDownEvent().
|
inlinestatic |
Definition at line 91 of file Event.hh.
References Math::e, openmsx::SdlEvent::evt, and KeyDownEvent().