Enum EventType
Represents the type of an input event which can be raised from a global hook or posted as a fake event.
public enum EventType
Fields
HookDisabled = 2
Raised when the global hook is stopped. Ignored when posted.
HookEnabled = 1
Raised when the global hook is started. Ignored when posted.
KeyPressed = 4
Raised when a key is pressed or posted to press a key.
KeyReleased = 5
Raised when a key is released or posted to release a key.
KeyTyped = 3
Raised when a character is typed. Ignored when posted.
MouseClicked = 6
Raised when a mouse button is clicked. Ignored when posted.
MouseDragged = 10
Raised when the mouse is dragged. Not recommended to post as it will be the same as MouseMoved.
MouseMoved = 9
Raised when the mouse is moved or posted to move the mouse.
MouseMovedRelativeToCursor = 14
Posted to move the mouse relative to the current cursor position. Never raised.
MousePressed = 7
Raised when a mouse button is pressed or posted to press a mouse button.
MousePressedIgnoreCoordinates = 12
Posted to press a mouse button at the current coordinates. Never raised.
MouseReleased = 8
Raised when a mouse button is released or posted to release a mouse button.
MouseReleasedIgnoreCoordinates = 13
Posted to release a mouse button at the current coordinates. Never raised.
MouseWheel = 11
Raised when the mouse wheel is scrolled or posted to scroll the mouse wheel.