Enum ModifierMask
Represents a virtual modifier mask.
Namespace: SharpHook.Native
Assembly: SharpHook.dll
Syntax
[Flags]
public enum ModifierMask : ushort
Fields
Name | Description |
---|---|
Alt | Left or right Alt (on Windows and Linux) or Option (on macOS) |
Button1 | Mouse button 1 (usually the left mouse button) |
Button2 | Mouse button 2 (usually the right mouse button) |
Button3 | Mouse button 3 |
Button4 | Mouse button 4 |
Button5 | Mouse button 5 |
CapsLock | Caps Lock |
Ctrl | Left or right Control |
LeftAlt | Left Alt (on Windows and Linux) or Option (on macOS) |
LeftCtrl | Left Control |
LeftMeta | Left Win (on Windows), Command (on macOS), or Super/Meta (on Linux) |
LeftShift | Left Shift |
Meta | Left or right Win (on Windows), Command (on macOS), or Super/Meta (on Linux) |
None | No modifier |
NumLock | Num Lock |
RightAlt | Right Alt (on Windows and Linux) or Option (on macOS) |
RightCtrl | Right Control |
RightMeta | Right Win (on Windows), Command (on macOS), or Super/Meta (on Linux) |
RightShift | Right Shift |
ScrollLock | Scroll Lock |
Shift | Left or right Shift |