KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Modifier Keys

Masks for the various keyboard modifier keys More...

Macros

#define KBD_MOD_LCTRL   (1<<0)
 
#define KBD_MOD_LSHIFT   (1<<1)
 
#define KBD_MOD_LALT   (1<<2)
 
#define KBD_MOD_S1   (1<<3)
 
#define KBD_MOD_RCTRL   (1<<4)
 
#define KBD_MOD_RSHIFT   (1<<5)
 
#define KBD_MOD_RALT   (1<<6)
 
#define KBD_MOD_S2   (1<<7)
 

Detailed Description

Masks for the various keyboard modifier keys

These are the various modifiers that can be pressed on the keyboard, and are reflected in the modifiers field of kbd_cond_t.

Macro Definition Documentation

◆ KBD_MOD_LALT

#define KBD_MOD_LALT   (1<<2)

◆ KBD_MOD_LCTRL

#define KBD_MOD_LCTRL   (1<<0)

◆ KBD_MOD_LSHIFT

#define KBD_MOD_LSHIFT   (1<<1)

◆ KBD_MOD_RALT

#define KBD_MOD_RALT   (1<<6)

◆ KBD_MOD_RCTRL

#define KBD_MOD_RCTRL   (1<<4)

◆ KBD_MOD_RSHIFT

#define KBD_MOD_RSHIFT   (1<<5)

◆ KBD_MOD_S1

#define KBD_MOD_S1   (1<<3)

◆ KBD_MOD_S2

#define KBD_MOD_S2   (1<<7)