fix compilation for android

This commit is contained in:
griffi-gh 2024-05-06 18:07:29 +02:00
parent 811bd8d8b4
commit d738b228f2

View file

@ -41,7 +41,7 @@ pub fn process_winit_events(world: &mut World, event: &Event<()>) {
EventComponent, EventComponent,
InputDeviceEvent { InputDeviceEvent {
device_id: *device_id, device_id: *device_id,
event: DeviceEvent::Key(RawKeyEvent { event: DeviceEvent::Key(winit::event::RawKeyEvent {
physical_key: event.physical_key, physical_key: event.physical_key,
state: event.state, state: event.state,
}) })