Expand description
A cross-platform input event abstraction modeled after W3C UI Events specifications.
Provides common vocabulary types for working with pointer events (mouse, touch, pen) and keyboard events in a platform-agnostic way. The crate aims to closely follow W3C standards while remaining practical for native application development.
Includes support for:
- Pointer events (down/move/up, pressure, tilt, etc.)
- Keyboard events (key codes, modifiers, location)
For integration with winit
, use the companion ui-events-winit
adapter crate.
§Features
std
(enabled by default): Use the Rust standard library.
Modules§
Enums§
- Scroll
Delta - Scroll delta.