KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Keyboard LEDs. More...
#include <keyboard.h>
Data Fields | ||
struct { | ||
uint8_t num_lock: 1 | ||
Num Lock LED. More... | ||
uint8_t caps_lock: 1 | ||
Caps Lock LED. More... | ||
uint8_t scroll_lock: 1 | ||
Scroll Lock LED. More... | ||
uint8_t unknown1: 1 | ||
Unknown LED 1. More... | ||
uint8_t unknown2: 1 | ||
Unknown LED 2. More... | ||
uint8_t kana: 1 | ||
Kana LED. More... | ||
uint8_t power: 1 | ||
Power LED. More... | ||
uint8_t shift: 1 | ||
Shift LED. More... | ||
}; | ||
Convenience Bitfields. | ||
uint8_t | raw | |
Packed 8-bit unsigned integer of bitflags. | ||
struct { ... } kbd_leds_t |
Convenience Bitfields.
uint8_t kbd_leds_t::caps_lock |
Caps Lock LED.
uint8_t kbd_leds_t::kana |
Kana LED.
uint8_t kbd_leds_t::num_lock |
Num Lock LED.
uint8_t kbd_leds_t::power |
Power LED.
uint8_t kbd_leds_t::raw |
Packed 8-bit unsigned integer of bitflags.
uint8_t kbd_leds_t::scroll_lock |
Scroll Lock LED.
uint8_t kbd_leds_t::shift |
Shift LED.
uint8_t kbd_leds_t::unknown1 |
Unknown LED 1.
uint8_t kbd_leds_t::unknown2 |
Unknown LED 2.