Skip to content

Commit

Permalink
Update for 0.29.3 changes
Browse files Browse the repository at this point in the history
Signed-off-by: John Nunley <dev@notgull.net>
  • Loading branch information
notgull committed Oct 28, 2023
1 parent c62a94e commit 46bb9e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/platform_impl/linux/x11/event_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,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,
Expand Down
2 changes: 1 addition & 1 deletion src/platform_impl/linux/x11/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use std::{
cell::{Cell, RefCell},
collections::{HashMap, HashSet},
ffi::CStr,
fmt, mem,
fmt,
ops::Deref,
os::{
raw::*,
Expand Down

0 comments on commit 46bb9e5

Please sign in to comment.