From d738b228f2b1bbc9bd25fad7599994d615c2cd4a Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 6 May 2024 18:07:29 +0200 Subject: [PATCH] fix compilation for android --- kubi/src/events.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, })