KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Keyboard status structure. More...
#include <dc/maple/keyboard.h>
Data Fields | ||
kbd_cond_t | cond | |
The latest raw condition of the keyboard. | ||
uint8_t | matrix [KBD_MAX_KEYS] | |
Key array. | ||
union { | ||
kbd_mods_t last_modifiers | ||
}; | ||
Modifier key status. | ||
kbd_region_t | region | |
Keyboard type/region. | ||
Keyboard status structure.
This structure holds information about the current status of the keyboard device. This is what maple_dev_status() will return.
union { ... } kbd_state_t |
Modifier key status.
Stored to track changes.
kbd_cond_t kbd_state_t::cond |
The latest raw condition of the keyboard.
kbd_mods_t kbd_state_t::last_modifiers |
uint8_t kbd_state_t::matrix[KBD_MAX_KEYS] |
Key array.
This array lists the state of all possible keys on the keyboard. It can be used for key repeat and debouncing. This will be non-zero if the key is currently being pressed.
kbd_region_t kbd_state_t::region |
Keyboard type/region.