Skip to main content

Module event

Module event 

Source
Expand description

Input events consumed by the Runtime.

Platform shells convert native OS events into the types defined here and pass them to Runtime::handle_input.

Enumsยง

GestureEvent
High-level gesture events recognised by the platform.
ImeEvent
Input Method Editor events for composed text input (CJK, emoji, etc.).
InputEvent
The top-level input event type consumed by Runtime::handle_input.
KeyCode
Platform-independent key code for keyboard events.
KeyEvent
A keyboard key press or release event.
LifecycleEvent
Application lifecycle events.
PointerButton
Identifies which mouse button or touch produced a pointer event.
PointerEvent
A pointer (mouse / touch / stylus) event in layout coordinates.