Update for 0.29.3 changes

Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
John Nunley
2023-10-28 12:24:07 -07:00
parent 4a30d0eadd
commit 1c65f70d59
2 changed files with 2 additions and 2 deletions

View File

@@ -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,

View File

@@ -27,7 +27,7 @@ use std::{
cell::{Cell, RefCell},
collections::{HashMap, HashSet},
ffi::CStr,
fmt, mem,
fmt,
ops::Deref,
os::{
raw::*,