#include <Keyboard.h>
|
| 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.
|
| |
◆ Type
| Enumerator |
|---|
| Press | |
| Release | |
| AddChar | |
| Reset | |
◆ data
| 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.
◆ timestamp_ms
| double Cogs::Keyboard::Event::timestamp_ms |
Timestamp in miliseconds.
◆ type
| Type Cogs::Keyboard::Event::type |
The documentation for this struct was generated from the following file: