openMSX
Public Member Functions | List of all members
openmsx::KeyEvent Class Reference

#include <Event.hh>

Inheritance diagram for openmsx::KeyEvent:
Inheritance graph
[legend]
Collaboration diagram for openmsx::KeyEvent:
Collaboration graph
[legend]

Public Member Functions

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
 

Additional Inherited Members

- Protected Attributes inherited from openmsx::SdlEvent
SDL_Event evt
 

Detailed Description

Definition at line 41 of file Event.hh.

Member Function Documentation

◆ getKey()

SDLKey openmsx::KeyEvent::getKey ( ) const
inline

Definition at line 54 of file Event.hh.

References openmsx::SdlEvent::evt.

◆ getKeyCode()

SDL_Keycode openmsx::KeyEvent::getKeyCode ( ) const
inline

Definition at line 47 of file Event.hh.

References openmsx::SdlEvent::evt.

Referenced by openmsx::operator==().

◆ getModifiers()

uint16_t openmsx::KeyEvent::getModifiers ( ) const
inline

Definition at line 49 of file Event.hh.

References openmsx::SdlEvent::evt.

Referenced by openmsx::operator==().

◆ getRepeat()

bool openmsx::KeyEvent::getRepeat ( ) const
inline

Definition at line 46 of file Event.hh.

References openmsx::SdlEvent::evt.

◆ getScanCode()

SDL_Scancode openmsx::KeyEvent::getScanCode ( ) const
inline

Definition at line 48 of file Event.hh.

References openmsx::SdlEvent::evt.

◆ getUnicode()

uint32_t openmsx::KeyEvent::getUnicode ( ) const
inline

Definition at line 50 of file Event.hh.

References openmsx::SdlEvent::evt.

◆ SdlEvent()

openmsx::SdlEvent::SdlEvent ( const SDL_Event &  e)
inlineexplicit

Definition at line 32 of file Event.hh.


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