|
KallistiOS
2.0.0
|
Keyboard status structure. More...
#include <dc/maple/keyboard.h>
Data Fields | |
| kbd_cond_t | cond |
| The lastest raw condition of the keyboard. | |
| uint8 | matrix [256] |
| Key array. | |
| int | shift_keys |
| Modifier key status. | |
| int | region |
| Keyboard type/region. | |
| uint32 | key_queue [KBD_QUEUE_SIZE] |
| Individual keyboard queue. You should not access this variable directly. Please use the appropriate function to access it. | |
| int | queue_tail |
| Key queue tail. | |
| int | queue_head |
| Key queue head. | |
| int | queue_len |
| Current length of queue. | |
Keyboard status structure.
This structure holds information about the current status of the keyboard device. This is what maple_dev_status() will return.
| kbd_cond_t kbd_state::cond |
The lastest raw condition of the keyboard.
| uint32 kbd_state::key_queue[KBD_QUEUE_SIZE] |
Individual keyboard queue. You should not access this variable directly. Please use the appropriate function to access it.
| uint8 kbd_state::matrix[256] |
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.
| int kbd_state::queue_head |
Key queue head.
| int kbd_state::queue_len |
Current length of queue.
| int kbd_state::queue_tail |
Key queue tail.
| int kbd_state::region |
Keyboard type/region.
| int kbd_state::shift_keys |
Modifier key status.
1.8.1.1