fix compilation for android

This commit is contained in:
griffi-gh 2024-05-06 18:07:29 +02:00
parent 8ae89f37b0
commit a2a39e1edf

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,
}) })