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