Enum EventMask
Represents the mask of a UioHookEvent and contains modifiers and other information.
[Flags]
public enum EventMask : uint
- Extension Methods
Fields
Alt = LeftAlt | RightAltLeft or right Alt (on Windows and Linux) or Option (on macOS) is pressed.
Button1 = 256Mouse button 1 (usually the left mouse button) is pressed.
Button2 = 512Mouse button 2 (usually the right mouse button) is pressed.
Button3 = 1024Mouse button 3 is pressed.
Button4 = 2048Mouse button 4 is pressed.
Button5 = 4096Mouse button 5 is pressed.
CapsLock = 16384Caps Lock is locked.
Ctrl = LeftCtrl | RightCtrlLeft or right Control is pressed.
LeftAlt = 8Left Alt (on Windows and Linux) or Option (on macOS) is pressed.
LeftCtrl = 2Left Control is pressed.
LeftMeta = 4Left Win (on Windows), Command (on macOS), or Super/Meta (on Linux) is pressed.
LeftShift = 1Left Shift is pressed.
Meta = LeftMeta | RightMetaLeft or right Win (on Windows), Command (on macOS), or Super/Meta (on Linux) is pressed.
None = 0No mask.
NumLock = 8192Num Lock is locked.
RightAlt = 128Right Alt (on Windows and Linux) or Option (on macOS) is pressed.
RightCtrl = 32Right Control is pressed.
RightMeta = 64Right Win (on Windows), Command (on macOS), or Super/Meta (on Linux) is pressed.
RightShift = 16Right Shift is pressed.
ScrollLock = 32768Scroll Lock is locked.
Shift = LeftShift | RightShiftLeft or right Shift is pressed.
SimulatedEvent = 1073741824The event is simulated.
SuppressEvent = 2147483648If this flag is set in the event handler then the event will be suppressed from further propagation.
Suppressing events works only on Windows and macOS.