KallistiOS git master
Independent SDK for the Sega Dreamcast
|
States each key can be in. More...
Macros | |
#define | KEY_STATE_NONE 0 |
#define | KEY_STATE_WAS_PRESSED 1 |
#define | KEY_STATE_PRESSED 2 |
States each key can be in.
These are the different 'states' each key can be in. They are stored in kbd_state_t->matrix, and manipulated/checked by kbd_check_poll.
none-> pressed or none was pressed-> pressed or none pressed-> was_pressed
#define KEY_STATE_NONE 0 |
#define KEY_STATE_PRESSED 2 |
#define KEY_STATE_WAS_PRESSED 1 |