|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Keyboard modifier key flags More...
Macros | |
| #define | KBD_MOD_LCTRL BIT(0) |
| Left Control key. | |
| #define | KBD_MOD_LSHIFT BIT(1) |
| Left Shift key. | |
| #define | KBD_MOD_LALT BIT(2) |
| Left alternate key. | |
| #define | KBD_MOD_S1 BIT(3) |
| S1 key. | |
| #define | KBD_MOD_RCTRL BIT(4) |
| Right Control key. | |
| #define | KBD_MOD_RSHIFT BIT(5) |
| Right Shift key. | |
| #define | KBD_MOD_RALT BIT(6) |
| Right Alternate key. | |
| #define | KBD_MOD_S2 BIT(7) |
| S2 key. | |
| #define | KBD_MOD_CTRL (KBD_MOD_LCTRL | KBD_MOD_RCTRL) |
| Either Control key. | |
| #define | KBD_MOD_SHIFT (KBD_MOD_LSHIFT | KBD_MOD_RSHIFT) |
| Either Shift key. | |
| #define | KBD_MOD_ALT (KBD_MOD_LALT | KBD_MOD_RALT) |
| Either Alternate key. | |
Keyboard modifier key flags
These are the various modifiers that can be pressed on the keyboard. Their current state is stored within kbd_cond_t::modifiers.
| #define KBD_MOD_ALT (KBD_MOD_LALT | KBD_MOD_RALT) |
Either Alternate key.
| #define KBD_MOD_CTRL (KBD_MOD_LCTRL | KBD_MOD_RCTRL) |
Either Control key.
| #define KBD_MOD_LALT BIT(2) |
Left alternate key.
| #define KBD_MOD_LCTRL BIT(0) |
Left Control key.
| #define KBD_MOD_LSHIFT BIT(1) |
Left Shift key.
| #define KBD_MOD_RALT BIT(6) |
Right Alternate key.
| #define KBD_MOD_RCTRL BIT(4) |
Right Control key.
| #define KBD_MOD_RSHIFT BIT(5) |
Right Shift key.
| #define KBD_MOD_S1 BIT(3) |
S1 key.
| #define KBD_MOD_S2 BIT(7) |
S2 key.
| #define KBD_MOD_SHIFT (KBD_MOD_LSHIFT | KBD_MOD_RSHIFT) |
Either Shift key.