mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
@@ -1144,7 +1144,7 @@ impl<T: 'static> EventProcessor<T> {
|
||||
if keycode < KEYCODE_OFFSET as u32 {
|
||||
return;
|
||||
}
|
||||
let physical_key = keymap::raw_keycode_to_keycode(keycode);
|
||||
let physical_key = keymap::raw_keycode_to_physicalkey(keycode);
|
||||
|
||||
callback(Event::DeviceEvent {
|
||||
device_id,
|
||||
|
||||
@@ -27,7 +27,7 @@ use std::{
|
||||
cell::{Cell, RefCell},
|
||||
collections::{HashMap, HashSet},
|
||||
ffi::CStr,
|
||||
fmt, mem,
|
||||
fmt,
|
||||
ops::Deref,
|
||||
os::{
|
||||
raw::*,
|
||||
|
||||
Reference in New Issue
Block a user