pub mod keyboard; pub mod mouse; pub mod system; use bevy_app::{AppBuilder, AppPlugin}; use keyboard::KeyboardInput; use mouse::{MouseButtonInput, MouseMotion}; #[derive(Default)] pub struct InputPlugin; impl AppPlugin for InputPlugin { fn build(&self, app: &mut AppBuilder) { app.add_event::() .add_event::() .add_event::(); } }