diff --git a/kubi/src/events.rs b/kubi/src/events.rs index fcd4c83..4bed070 100644 --- a/kubi/src/events.rs +++ b/kubi/src/events.rs @@ -41,7 +41,7 @@ pub fn process_winit_events(world: &mut World, event: &Event<()>) { EventComponent, InputDeviceEvent { device_id: *device_id, - event: DeviceEvent::Key(RawKeyEvent { + event: DeviceEvent::Key(winit::event::RawKeyEvent { physical_key: event.physical_key, state: event.state, })