Skip to main content

Module input

Module input 

Source
Expand description

Input handling for uzor

This module provides platform-agnostic input state types that capture user interactions (mouse, keyboard, touch) and can be passed to widgets and rendering code for interaction detection.

Re-exports§

pub use coordinator::InputCoordinator;
pub use coordinator::LayerId;
pub use coordinator::ScopedRegion;
pub use event_processor::EventProcessor;
pub use crate::platform::PlatformEvent;
pub use state::InputState;
pub use state::MouseButton;
pub use state::ModifierKeys;
pub use state::PointerState;
pub use state::DragState as PointerDragState;
pub use animation::*;
pub use cursor::*;
pub use events::*;
pub use handlers::*;
pub use response::*;
pub use sense::*;
pub use shortcuts::*;
pub use tooltip::*;
pub use touch::*;
pub use widget_state::*;

Modules§

animation
Animation helpers for smooth transitions and interpolations
coordinator
Input coordinator for widget event routing and Z-order management
cursor
Cursor icon system for uzor
event_processor
Event processor - converts platform events to InputState updates
events
Keyboard input events (key codes)
handlers
Widget input handlers
response
Unified widget response pattern
sense
Sense flags for widget interaction detection
shortcuts
Keyboard shortcut system for uzor
state
Platform-agnostic input state
tooltip
Tooltip system for widget hover information
touch
Multi-touch gesture state and recognition
widget_state
Widget input state management