InputAPI reference
Enum InputEventKind
Namespace: MicroEngine.Input
Assembly: MicroEngine.Input.dll
Guide: Input
What an InputEvent reports.
public enum InputEventKindFields
AxisMoved = 14
A gamepad axis moved (Axis, Value).
ButtonDown = 12
A gamepad button went down (Button).
ButtonUp = 13
A gamepad button went up.
DeviceAdded = 0
A device was connected (Info describes it). Devices present at start are reported too.
DeviceRemoved = 1
A device was disconnected; every key, button and pointer it held is released by the events before it.
KeyDown = 2
A key went down (Key); Repeat for the system’s auto-repeat.
KeyUp = 3
A key went up.
PointerCancel = 9
The system took a finger away (the game lost the screen); handle it as an up that must not act.
PointerDown = 6
A pointer button went down, or a finger or pen touched (Pointer, Button).
PointerLeave = 10
The mouse left the window.
PointerMove = 8
A pointer moved (Position).
PointerUp = 7
A pointer button went up, or a finger or pen left the screen.
Text = 4
Text was entered while text input is on (Text): characters, never keys.
TextComposition = 5
The text being composed by an input method changed (Text, empty when composition ended).
Wheel = 11
The wheel turned (Wheel).