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

Modifier Keys. More...

#include <keyboard.h>

Data Fields

struct { 
 
   uint8_t   lctrl: 1 
 Left Control key. More...
 
   uint8_t   lshift: 1 
 Left Shift key. More...
 
   uint8_t   lalt: 1 
 Left Alternate key. More...
 
   uint8_t   s1: 1 
 S1 key. More...
 
   uint8_t   rctrl: 1 
 Right Control key. More...
 
   uint8_t   rshift: 1 
 Right Shift key. More...
 
   uint8_t   ralt: 1 
 Right Alternate key. More...
 
   uint8_t   s2: 1 
 S2 key. More...
 
};  
 Convenience Bitfields.
 
uint8_t raw
 Packed 8-bit unsigned integer of bitflags.
 

Detailed Description

Modifier Keys.

Convenience union containing the state of all keyboard modifier keys.

See also
Flags, kbd_state_t::modifiers

Field Documentation

◆ [struct]

struct { ... } kbd_mods_t

Convenience Bitfields.

◆ lalt

uint8_t kbd_mods_t::lalt

Left Alternate key.

◆ lctrl

uint8_t kbd_mods_t::lctrl

Left Control key.

◆ lshift

uint8_t kbd_mods_t::lshift

Left Shift key.

◆ ralt

uint8_t kbd_mods_t::ralt

Right Alternate key.

◆ raw

uint8_t kbd_mods_t::raw

Packed 8-bit unsigned integer of bitflags.

◆ rctrl

uint8_t kbd_mods_t::rctrl

Right Control key.

◆ rshift

uint8_t kbd_mods_t::rshift

Right Shift key.

◆ s1

uint8_t kbd_mods_t::s1

S1 key.

◆ s2

uint8_t kbd_mods_t::s2

S2 key.


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