|
Size: 1042
Comment: update content (from Sam)
|
Size: 1031
Comment: minor change
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 16: | Line 16: |
| ||KMOD_LALT||the left Alt (Alternate) key|| ||KMOD_RALT||the right Alt (Alternate) key|| |
||KMOD_LALT||the left Alt key|| ||KMOD_RALT||the right Alt key|| |
| Line 22: | Line 22: |
| ||KMOD_MODE|||| | ||KMOD_MODE||the AltGr key|| |
DRAFT |
SDLMod
An enumeration of key modifier masks.
Contents
Values
KMOD_NONE |
0 |
KMOD_LSHIFT |
the left Shift key |
KMOD_RSHIFT |
the right Shift key |
KMOD_LCTRL |
the left Ctrl (Control) key |
KMOD_RCTRL |
the right Ctrl (Control) key |
KMOD_LALT |
the left Alt key |
KMOD_RALT |
the right Alt key |
KMOD_LGUI |
the left GUI key (often the Windows key) |
KMOD_RGUI |
the right GUI key (often the Windows key) |
KMOD_NUM |
the Num Lock key (may be located on an extended keypad) |
KMOD_CAPS |
the Caps Lock key |
KMOD_MODE |
the AltGr key |
KMOD_RESERVED |
reserved for future use |
Code Examples
You can add your code example here
Remarks
These may be OR'd together.
