KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
kbd_state_t Struct Reference

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.
 

Detailed Description

Keyboard status structure.

This structure holds information about the current status of the keyboard device. This is what maple_dev_status() will return.

Field Documentation

◆ [union]

union { ... } kbd_state_t

Current (and previous) state of all keys in kbd_keys_t.

◆ [union]

union { ... } kbd_state_t

Modifier key status.

Stored to track changes.

◆ cond

kbd_cond_t kbd_state_t::cond

The latest raw condition of the keyboard.

◆ key_states

key_state_t kbd_state_t::key_states[KBD_MAX_KEYS]

◆ last_modifiers

kbd_mods_t kbd_state_t::last_modifiers

◆ region

kbd_region_t kbd_state_t::region

Keyboard type/region.


The documentation for this struct was generated from the following file: