A GR_KEYMOD type is a bitwise OR combination of one or more of the following flags. The set flags indicate keyboard modifier keys that are being pressed.
Table 3-1. Modifier Key Codes
| Value | Description |
|---|---|
| MWKMOD_NONE | Indicates no modifier keys are pressed. |
| MWKMOD_LSHIFT | Indicates the left Shift key. |
| MWKMOD_RSHIFT | Indicates the right Shift key. |
| MWKMOD_SHIFT | Bitwise OR of the left and right Shift keys. |
| MWKMOD_LCTRL | Indicates the left Ctrl key. |
| MWKMOD_RCTRL | Indicates the right Ctrl key. |
| MWKMOD_CTRL | Bit wise OR of the left and right Ctrl keys. |
| MWKMOD_LALT | Indicates the left Alt key. |
| MWKMOD_RALT | Indicates the right Alt key. |
| MWKMOD_ALT | Bitwise OR if the left and right Alt key. |
| MWKMOD_LMETA | Indicates the left window key. |
| MWKMOD_RMETA | Indicates the right window key. |
| MWKMOD_META | Bitwise OR of the left and right window keys. |
| MWKMOD_NUM | Indicates the Num Lock key. |
| MWKMOD_CAPS | Indicates theCaps Lock key. |
| MWKMOD_ALTGR | Indicates the AltGr key. |