2.2.3.27 ControlKeyStates
This data type represents a set of zero or more control keys that are held down.
This data type represents the set of control keys by encoding them as a set of bit flags within a Signed Int (section 2.2.5.1.11). If a given control key is held down, then a corresponding bit is set; otherwise, the bit is cleared.
|
Value |
Meaning |
|---|---|
|
0x0001 |
RightAltPressed |
|
0x0002 |
LeftAltPressed |
|
0x0004 |
RightCtrlPressed |
|
0x0008 |
LeftCtrlPressed |
|
0x0010 |
ShiftPressed |
|
0x0020 |
NumLockOn |
|
0x0040 |
ScrollLockOn |
|
0x0080 |
CapsLockOn |
|
0x0100 |
EnhancedKey |
For an example, see section 2.2.3.26.