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

use dioxus_core::Event;
pub use file::*;
pub use keyboard::*;
pub use mouse::*;
pub use pointer::*;
pub use touch::*;
pub use wheel::*;

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>;