Cogs.Core
|
Public Types | |
enum class | Type { Press , Release , AddChar , Reset } |
Public Attributes | |
Type | type |
Event type. | |
double | timestamp_ms |
Timestamp in miliseconds. | |
std::variant< Key, std::string > | data |
Data associated with the event: Key for Press and Release events, std::string for AddChar events and no data for Reset events. | |
Definition at line 55 of file Keyboard.h.
|
strong |
Definition at line 56 of file Keyboard.h.
std::variant<Key, std::string> Cogs::Keyboard::Event::data |
Data associated with the event: Key for Press and Release events, std::string for AddChar events and no data for Reset events.
Definition at line 67 of file Keyboard.h.
Referenced by Cogs::Core::EventBasedInput::handleKeyboardEvent().
double Cogs::Keyboard::Event::timestamp_ms |
Timestamp in miliseconds.
Definition at line 64 of file Keyboard.h.
Referenced by Cogs::Core::EventBasedInput::handleKeyboardEvent().
Type Cogs::Keyboard::Event::type |
Event type.
Definition at line 63 of file Keyboard.h.
Referenced by Cogs::Core::EventBasedInput::handleKeyboardEvent().