diff --git a/src/main.rs b/src/main.rs index 1683cc5..67bd662 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,6 +7,7 @@ use gilrs::Gilrs; use glow::HasContext; use bevy_ecs::prelude::*; +use gilrs::Event as GEvent; use gui::Gui; use winit::event::{Event, WindowEvent}; @@ -154,7 +155,7 @@ fn main() { // TESTING // TODO - while let Some(Event { id, event, time }) = gilrs.next_event() { + while let Some(GEvent { id, event, time }) = gilrs.next_event() { println!("{:?} New Event from {}: {:?}", time, id, event); } match event {