Module interaction
Expand description
Host-owned input capabilities shared by the retained widget tree.
Apps describe semantic controls once. The host updates this environment
from platform events, and controls adapt their hit targets and hover-only
affordances without app code branching on raw winit events.
Structs§
- Input
Availability - A compact set of the input devices discovered for this session.
- Interaction
Environment - Runtime interaction information propagated by the host to every widget.
- Touch
Pointer Emulator - Converts direct touch into the toolkit’s ordinary pointer contract.
Enums§
- Controller
Family - Controller legend/layout used when rendering face buttons.
- Input
Device - Devices known to be available in this session. This is deliberately
separate from
InputModality: moving a mouse must not make a connected touchscreen or controller disappear from shortcut help. - Input
Modality - The kind of interaction most recently used.
- Keyboard
Family - Physical legends printed on the connected keyboard. Tilo may run on Linux with an Apple keyboard attached, so this cannot be inferred from the OS.
- Pointer
Precision - Accuracy of the active pointing device.
- Touch
Pointer Event - Pointer events synthesised from direct touch, so ordinary widgets work on a touchscreen without interpreting contact streams themselves.