1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod keyboard;
pub mod mouse;
pub mod pointer;
pub mod touch;
pub mod wheel;

use dioxus_core::Event;
pub use keyboard::KeyboardData;
pub use mouse::MouseData;
pub use pointer::PointerData;
pub use touch::TouchData;
pub use wheel::WheelData;

pub type KeyboardEvent = Event<KeyboardData>;
pub type MouseEvent = Event<MouseData>;
pub type WheelEvent = Event<WheelData>;
pub type TouchEvent = Event<TouchData>;
pub type PointerEvent = Event<PointerData>;