Skip to main content

Module interaction

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§

InputAvailability
A compact set of the input devices discovered for this session.
InteractionEnvironment
Runtime interaction information propagated by the host to every widget.
TouchPointerEmulator
Converts direct touch into the toolkit’s ordinary pointer contract.

Enums§

ControllerFamily
Controller legend/layout used when rendering face buttons.
InputDevice
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.
InputModality
The kind of interaction most recently used.
KeyboardFamily
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.
PointerPrecision
Accuracy of the active pointing device.
TouchPointerEvent
Pointer events synthesised from direct touch, so ordinary widgets work on a touchscreen without interpreting contact streams themselves.