Static Public Member Functions | List of all members
openmsx::KeyDownEvent Class Referencefinal

#include <Event.hh>

Inheritance diagram for openmsx::KeyDownEvent:
Inheritance graph
Collaboration diagram for openmsx::KeyDownEvent:
Collaboration graph

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

- Public Member Functions inherited from openmsx::KeyEvent
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)
- Public Member Functions inherited from openmsx::SdlEvent
 SdlEvent (const SDL_Event &e)
const SDL_Event & getSdlEvent () const
const SDL_CommonEvent & getCommonSdlEvent () const
- Protected Attributes inherited from openmsx::SdlEvent
SDL_Event evt

Detailed Description

Definition at line 76 of file Event.hh.

Member Function Documentation

◆ create() [1/2]

static KeyDownEvent openmsx::KeyDownEvent::create ( SDL_Keycode  code,
SDL_Keymod  mod = KMOD_NONE 

Definition at line 81 of file Event.hh.

References openmsx::SdlEvent::evt.

Referenced by TEST_CASE(), and TEST_CASE().

◆ create() [2/2]

static KeyDownEvent openmsx::KeyDownEvent::create ( uint32_t  timestamp,
unsigned  unicode 

Definition at line 93 of file Event.hh.

References openmsx::SdlEvent::evt.

The documentation for this class was generated from the following file: