![]() |
Lysa
0.0
Lysa 3D Engine
|
Keyboard input event
Public Attributes | |
| Key | key |
| std::string | value |
| bool | pressed |
| int | repeat |
| int | modifiers |
| Key key |
The key code (position-based, QWERTY layout)
| int modifiers |
the state of the KeyModifier keys
| bool pressed |
true if the key is pressed
| int repeat |
The repeat count for the current event. The value is the number of times the keystroke is auto-repeated as a result of the user holding down the key
| std::string value |
The character produced by the key on the active keyboard layout as a single lowercase UTF-8 character.