diff --git a/src/events.rs b/src/events.rs index 851ef0c6..2fd5141b 100644 --- a/src/events.rs +++ b/src/events.rs @@ -138,6 +138,7 @@ pub enum MouseScrollDelta { } #[derive(Debug, Hash, PartialEq, Eq, Clone, Copy)] +#[repr(u32)] pub enum VirtualKeyCode { /// The '1' key over the letters. Key1,