The user requested closing the window; the application must call close().
Input focus was gained.
Input focus was lost.
A joystick button was pressed.
The zero-based button index.
The zero-based joystick index.
A joystick button was released.
The zero-based button index.
The zero-based joystick index.
A joystick was connected.
The index of the connected joystick.
A joystick was disconnected.
The index of the disconnected joystick.
A joystick axis moved.
The axis that changed.
The zero-based joystick index.
The axis position, from -100 to 100.
A keyboard key was pressed.
A keyboard key was released.
A mouse button was pressed.
The pressed button.
The client-area pixel position.
A mouse button was released.
The released button.
The client-area pixel position.
The mouse entered the client area.
The mouse left the client area.
The mouse moved within the client area.
The client-area pixel position.
Raw mouse movement without system acceleration.
The relative movement reported by the device.
A mouse wheel was scrolled.
Scroll amount, possibly fractional; positive values mean up or left.
The client-area pixel position when scrolling occurred.
The vertical or horizontal wheel.
The client area changed size.
The new client-area pixel dimensions.
A sensor measurement was updated.
The sensor type, which determines the measurement unit.
The three-axis measurement.
A Unicode character was entered.
A Unicode code point, not a UTF-16 code unit.
A touch began.
The touch index.
The client-area pixel position.
A touch ended.
The touch index.
The client-area pixel position.
A touch moved.
The touch index.
The client-area pixel position.
Window event kinds and their payloads; all positions are client-area pixel coordinates.