![]() |
galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
|
Contains data on key that was pressed. More...
#include <KeyPressed.hpp>
Public Attributes | |
SDL_Scancode | m_scancode = SDL_SCANCODE_UNKNOWN |
SDL physical key code. | |
Keys | m_key = Keys::KEY_UNKNOWN |
SDL virtual key code. | |
KeyMods | m_mod = KeyMods::MOD_NONE |
Current key modifiers. | |
unsigned short | m_raw = 0 |
The platform dependent scancode for this event. | |
bool | m_repeat = false |
True if this is a key repeat. | |
![]() | |
bool | m_handled = false |
Has this event been handled/consumed/processed already. | |
Contains data on key that was pressed.
Definition at line 19 of file KeyPressed.hpp.
SDL_Scancode galaxy::KeyPressed::m_scancode = SDL_SCANCODE_UNKNOWN |
SDL physical key code.
Definition at line 24 of file KeyPressed.hpp.
Keys galaxy::KeyPressed::m_key = Keys::KEY_UNKNOWN |
SDL virtual key code.
Definition at line 29 of file KeyPressed.hpp.
KeyMods galaxy::KeyPressed::m_mod = KeyMods::MOD_NONE |
Current key modifiers.
Definition at line 34 of file KeyPressed.hpp.
unsigned short galaxy::KeyPressed::m_raw = 0 |
The platform dependent scancode for this event.
Definition at line 39 of file KeyPressed.hpp.
bool galaxy::KeyPressed::m_repeat = false |
True if this is a key repeat.
Definition at line 44 of file KeyPressed.hpp.