Enum Keymod
Represents keyboard modifier keys
[Flags]
public enum Keymod : ushort
Fields
Alt = LeftAlt | RightAltBoth ALT (alt) keys combined
CapsLock = 8192The ⇪ (caps lock) key is down
Control = LeftControl | RightControlBoth CTRL (control) keys combined
This is effectively
LeftControl | RightControl.Gui = LeftGui | RightGuiBoth ⊞ (Windows) key on PCs, ⌘ (command) keys on Macs, or sometimes called meta keys, combined
LeftAlt = 256The left ALT (left alt) key is down
LeftControl = 64The left CTRL (left control) key is down
LeftGui = 1024The left ⊞ (left Windows) key on PCs, left ⌘ (left command) key on Macs, or sometimes called left meta key, is down
LeftShift = 1The left ⇧ (shift) key is down
Level5Shift = 4The "Level 5 Shift" key is down
Mode = 16384None = 0No modifier key is down
NumLock = 4096The NUM (num lock), may be located on an extended keypad, is down
RightAlt = 512The right ALT (right alt) key, or sometimes called ALT GR (alt gr.) key, is down
RightControl = 128The right CTRL (right control) key is down
RightGui = 2048The right ⊞ (right Windows) key on PCs, right ⌘ (right command) key on Macs, or sometimes called right meta key, is down
RightShift = 2The right ⇧ (shift) key is down
ScrollLock = 32768The SCROLL (scroll lock) key is down
Shift = LeftShift | RightShiftBoth ⇧ (shift) keys combined
This is effectively
LeftShift | RightShift.