A structure containing information on a keyboard event.
More...
#include <Event.hpp>
|
| int32 | sym |
| | The virtual key code.
|
| uint16 | mod |
| | An enumeration of key modifier masks; see also: the SDL2 wiki documentation page for SDL_Keymod.
|
| uint16 | scan_code |
| | The physical key code.
|
| uint8 | state |
| | The state of the key press event.
|
| uint8 | repeat |
| | Non-zero if this is a repeating key press event.
|
| uint32 | window_id |
| | The identifier of the window at the moment of the event.
|
A structure containing information on a keyboard event.
Definition at line 117 of file Event.hpp.
◆ mod
| uint16 nom::KeyboardEvent::mod |
An enumeration of key modifier masks; see also: the SDL2 wiki documentation page for SDL_Keymod.
Definition at line 124 of file Event.hpp.
◆ repeat
| uint8 nom::KeyboardEvent::repeat |
Non-zero if this is a repeating key press event.
Definition at line 135 of file Event.hpp.
◆ scan_code
| uint16 nom::KeyboardEvent::scan_code |
The physical key code.
Definition at line 127 of file Event.hpp.
◆ state
| uint8 nom::KeyboardEvent::state |
The state of the key press event.
- See also
- nom::InputState
Definition at line 132 of file Event.hpp.
◆ sym
| int32 nom::KeyboardEvent::sym |
The virtual key code.
Definition at line 120 of file Event.hpp.
◆ window_id
| uint32 nom::KeyboardEvent::window_id |
The identifier of the window at the moment of the event.
Definition at line 138 of file Event.hpp.
The documentation for this struct was generated from the following file:
- /home/jeff/Projects/nomlib.git/include/nomlib/system/Event.hpp