KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
kbd_leds_t Union Reference

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.
 

Detailed Description

Keyboard LEDs.

Union containing the state of all keyboard LEDs.

See also
Flags, kbd_cond_t::leds

Field Documentation

◆ [struct]

struct { ... } kbd_leds_t

Convenience Bitfields.

◆ caps_lock

uint8_t kbd_leds_t::caps_lock

Caps Lock LED.

◆ kana

uint8_t kbd_leds_t::kana

Kana LED.

◆ num_lock

uint8_t kbd_leds_t::num_lock

Num Lock LED.

◆ power

uint8_t kbd_leds_t::power

Power LED.

◆ raw

uint8_t kbd_leds_t::raw

Packed 8-bit unsigned integer of bitflags.

◆ scroll_lock

uint8_t kbd_leds_t::scroll_lock

Scroll Lock LED.

◆ shift

uint8_t kbd_leds_t::shift

Shift LED.

◆ unknown1

uint8_t kbd_leds_t::unknown1

Unknown LED 1.

◆ unknown2

uint8_t kbd_leds_t::unknown2

Unknown LED 2.


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