libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Keyboard key was held, causing a repeat press. More...
#include <donut/events/Event.hpp>
Additional Inherited Members | |
Public Types inherited from donut::events::KeyEventBase | |
enum | KeyModifier : KeyModifiers { MODIFIER_NONE = 0 , MODIFIER_LSHIFT = 1 << 0 , MODIFIER_RSHIFT = 1 << 1 , MODIFIER_LCTRL = 1 << 6 , MODIFIER_RCTRL = 1 << 7 , MODIFIER_LALT = 1 << 8 , MODIFIER_RALT = 1 << 9 , MODIFIER_LSUPER = 1 << 10 , MODIFIER_RSUPER = 1 << 11 , MODIFIER_NUM_LOCK = 1 << 12 , MODIFIER_CAPS_LOCK = 1 << 13 , MODIFIER_MODE = 1 << 14 , MODIFIER_SCROLL_LOCK = 1 << 15 , MODIFIER_CTRL = MODIFIER_LCTRL | MODIFIER_RCTRL , MODIFIER_SHIFT = MODIFIER_LSHIFT | MODIFIER_RSHIFT , MODIFIER_ALT = MODIFIER_LALT | MODIFIER_RALT , MODIFIER_SUPER = MODIFIER_LSUPER | MODIFIER_RSUPER } |
Key modifier bits. More... | |
using | KeyModifiers = std::uint16_t |
Bit set of key modifiers. More... | |
Public Attributes inherited from donut::events::KeyEventBase | |
Input | physicalKeyInput |
Physical key input identifier. More... | |
int | symbolicKeyCode |
Symbolic identifier of the key. More... | |
KeyModifiers | keyModifiers |
Current key modifiers. More... | |
Public Attributes inherited from donut::events::InputEventBase | |
std::uint32_t | windowId |
Unique identifier of the window that this event belongs to, if any. More... | |
Keyboard key was held, causing a repeat press.