Structs§
- Gamepad
Id - Opaque gamepad handle. Backend-local index, stable for the connection
lifetime. Survives across frames; invalid after
GamepadEvent::Disconnected. - KeyEvent
- Modifiers
- Pointer
Event - Pointer
Id - Text
Input Event
Enums§
- Gamepad
Axis - Analog axes, normalized to -1.0..=1.0. Triggers report 0.0..=1.0.
- Gamepad
Button - Standard-layout buttons (SDL gamecontroller mapping positions). Backends translate hardware codes to these; unknown buttons are dropped.
- Gamepad
Event - ImeEvent
- Input
Event - Input
Mode - Key
- KeyEvent
Type - Pointer
Button - Pointer
Event Kind - Pointer
Event Pass - Pointer
Kind
Functions§
- input_
mode - Current input mode (Compose
InputModeManager.inputMode). - is_
focus_ visible truewhen focus indication should paint (focused and keyboard mode).- request_
input_ mode - Request a new input mode. Returns
trueif the mode changed. - set_
input_ mode_ default - Force the global default input mode (no frame request). Prefer
request_input_modefrom event handlers.