This branch action tracks and reports position of the current focus box.
Find the focus box using a FindFocusAction.
FocusIO is an input handler system that reads events off devices like keyboards or gamepads, which do not map directly to screen coordinates.
Nodes implementing this interface can be focused by a FocusIO system.
Base interface for FocusIO, providing access and control over the current focusable. Used to create additional interfaces like WithPositionalFocus without defining a new I/O set.
A ready-made implementation of tabbing for FocusIO using orderedFocusAction, provided as an interface to subclass from.
A ready implementation of positional focus for FocusIO, enabling switching between nodes using (usually) arrow keys. Used by subclassing in the focus I/O system.
Represents an event coming from an input device, like a pressed key, button or a gesture.
Uniquely codes a pressed key, button or a gesture, by using an I/O ID and event code map. Each I/O interface can define its own keys and buttons it needs to map. The way it maps codes to buttons is left up to the interface to define, but it usually is with an enum.
This module contains interfaces for handling focus and connecting focusable nodes with input devices.