redefined gilrs Events
parent
15c75d8baf
commit
bee9ae2a41
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue