use super::keyboard::ElementState; #[derive(Debug, Clone)] pub struct MouseButtonInput { pub button: MouseButton, pub state: ElementState, } #[derive(Debug, Hash, PartialEq, Eq, Clone, Copy)] pub enum MouseButton { Left, Right, Middle, Other(u8), } #[derive(Debug, Clone)] pub struct MouseMotionInput { pub delta: (f64, f64), }