Keyboard event data.
More...
#include <event.h>
◆ KeyState
◆ KeyMod
Enumerator |
---|
shift | |
control | |
lock | |
◆ Key() [1/2]
◆ Key() [2/2]
|
inlineexplicitconstexprnoexcept |
- Parameters
-
[in] | k | Key code for the event. |
[in] | u | Unicode value of the event. |
◆ keycode
Key code value.
This is basically the physical key that was pressed.
Any idea of a scancode or keysym is handled by the input backends themselves, which truly represent physical keys and are used for mappings.
- See also
- KeyboardCode
◆ state
Key state.
A bitmask of key modifiers such as SHIFT, CONTROL or LOCK keys.
◆ unicode
32 bit unicode code point.