Generic description of a keyboard event.
More...
#include <common/common.hh>
|
bool | alt |
| Was alt held during this key event?
|
|
bool | control |
| Was control held during this key event?
|
|
int | key |
| The raw value of the key pressed.
|
|
bool | shift |
| Was shift held during this key event?
|
|
std::string | text |
| Formatted string of the key pressed (could be uppercase).
|
|
EventType | type |
| Event type.
|
|
Generic description of a keyboard event.
◆ EventType
Key event types enumeration.
Enumerator |
---|
NO_EVENT | |
PRESS | |
RELEASE | |
◆ KeyEvent()
◆ alt
Was alt held during this key event?
◆ control
Was control held during this key event?
◆ key
The raw value of the key pressed.
◆ shift
Was shift held during this key event?
◆ text
Formatted string of the key pressed (could be uppercase).
◆ type
The documentation for this class was generated from the following file: