libdonut  2.3.2
Application framework for cross-platform game development in C++20
List of all members
donut::events::KeyPressRepeatedEvent Struct Reference

Keyboard key was held, causing a repeat press. More...

#include <donut/events/Event.hpp>

Inheritance diagram for donut::events::KeyPressRepeatedEvent:
donut::events::KeyEventBase donut::events::InputEventBase donut::events::EventBase

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...
 

Detailed Description

Keyboard key was held, causing a repeat press.


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