kova_native_input/lib.rs
1//! Input model for Kova Native.
2//!
3//! Platform backends translate native events into [`InputEvent`]s; the UI
4//! layer dispatches them through the element tree in a capture phase
5//! (root → target) followed by a bubble phase (target → root).
6
7mod click;
8mod event;
9mod keymap;
10mod keys;
11
12pub use click::ClickTracker;
13pub use event::{
14 CursorStyle, DispatchPhase, ImeEvent, InputEvent, KeyDownEvent, KeyUpEvent, MouseButton,
15 MouseDownEvent, MouseMoveEvent, MouseUpEvent, PenEvent, PenPhase, ScrollDelta,
16 ScrollWheelEvent,
17};
18pub use keymap::{Action, KeyBinding, Keymap, KeymapMatch};
19pub use keys::{Key, Keystroke, KeystrokeParseError, Modifiers, NamedKey};