1use crate::input::key::Key; 2 3pub mod events; 4pub mod key; 5 6// inputs/mod.rs 7pub enum InputEvent { 8 /// An input event occurred. 9 Input(Key), 10 /// Redraw application 11 Render, 12 /// Exit application 13 Quit, 14}