|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
A key event, such as a key press or release. More...
#include <game.h>
Public Attributes | |
| bool | pressed |
| True if the key is pressed, false if it is released. | |
| uint32_t | unicode |
| If the keypress generates a printing character. | |
| GAME_KEY_MOD | modifiers |
| Modifier keys pressed with the event key. | |
A key event, such as a key press or release.
| GAME_KEY_MOD game_key_event::modifiers |
Modifier keys pressed with the event key.
| bool game_key_event::pressed |
True if the key is pressed, false if it is released.
| uint32_t game_key_event::unicode |
If the keypress generates a printing character.
The unicode value contains the character generated. If the key is a non-printing character, e.g. a function or arrow key, the unicode value is zero.