| kodi
    | 
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.  More... | |
| GAME_KEY_MOD | modifiers | 
| Modifier keys pressed with the event key. | |
A key event, such as a key press or release.
| 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.
 1.8.13
 1.8.13