Expand description
Platform-neutral input event values and the standardized keyboard
vocabulary. Key remains the logical keyboard key inside this module;
the crate root re-exports it as KeyboardKey to avoid colliding with the
retained widget-key trait.
Platform-neutral input values.
Structs§
- Keyboard
Event - Standardized keyboard values shared by every platform adapter.
- Modifiers
- Standardized keyboard values shared by every platform adapter.
- Normalized
Pressure - Pressure normalized to the closed interval
[0, 1]. - Pointer
Sample Metadata - Optional high-fidelity data attached to one pointer sample.
- Stylus
Metadata - Stylus-only sample data with semantics shared by supported native backends.
- Stylus
Orientation - Portable stylus orientation derived from native pen tilt.
Enums§
- Code
- Standardized keyboard values shared by every platform adapter.
- Drag
Start Behavior - Flutter
DragStartBehavior: where a drag or scale gesture measures its starting point from. - ImeEvent
- IME composition is separate from committed text. Byte ranges always refer to valid UTF-8 boundaries in the preedit string when supplied.
- Input
Event - Key
- Standardized keyboard values shared by every platform adapter.
- KeyState
- Standardized keyboard values shared by every platform adapter.
- Location
- Standardized keyboard values shared by every platform adapter.
- Named
Key - Standardized keyboard values shared by every platform adapter.
- Pointer
Device Kind - Physical device category for pointer input shared by platform adapters and raw widget routing.
- Pointer
Phase - Trackpad
Gesture - Aggregate native trackpad gesture. These events deliberately do not contain synthetic touch contacts: platforms that expose only magnification, rotation, or force keep those aggregate semantics intact.
- Trackpad
Gesture Kind - Trackpad
Gesture Phase - Window
Resize Direction - Edge/corner selected for a compositor-owned native window resize gesture.
Constants§
- BACK_
POINTER_ BUTTON - Conventional browser/navigation back button.
- FORWARD_
POINTER_ BUTTON - Conventional browser/navigation forward button.
- PRIMARY_
POINTER_ BUTTON - Primary-button bit in Incular’s portable pointer-button mask.
- SECONDARY_
POINTER_ BUTTON - Secondary/right mouse button.
- TERTIARY_
POINTER_ BUTTON - Tertiary/middle mouse button.
Functions§
- additional_
pointer_ button_ mask - Returns the portable mask for an additional mouse button.