|
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. | ||
| union { | ||
| key_state_t key_states [KBD_MAX_KEYS] | ||
| }; | ||
| Current (and previous) state of all keys in kbd_keys_t. | ||
| 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 |
Current (and previous) state of all keys in kbd_keys_t.
| 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.
| key_state_t kbd_state_t::key_states[KBD_MAX_KEYS] |
| kbd_mods_t kbd_state_t::last_modifiers |
| kbd_region_t kbd_state_t::region |
Keyboard type/region.