From cd98acbd08c0dca2c53bae5512b45b926aa41f55 Mon Sep 17 00:00:00 2001 From: Ferdinand Schober Date: Thu, 16 May 2024 22:36:51 +0200 Subject: [PATCH] fix right shift not working --- src/scancode.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scancode.rs b/src/scancode.rs index cf3920f..e18ff9d 100644 --- a/src/scancode.rs +++ b/src/scancode.rs @@ -143,6 +143,7 @@ pub enum Windows { KeyLeftGUI = 0xE05B, KeyRightCtrl = 0xE01D, KeyRightShift = 0x0036, + KeyFakeRightShift = 0xE036, KeyRightAlt = 0xE038, KeyRightGUI = 0xE05C, KeyScanNextTrack = 0xE019, @@ -824,6 +825,7 @@ impl TryFrom for Linux { Windows::KeyLeftGUI => Ok(Self::KeyLeftMeta), Windows::KeyRightCtrl => Ok(Self::KeyRightCtrl), Windows::KeyRightShift => Ok(Self::KeyRightShift), + Windows::KeyFakeRightShift => Ok(Self::KeyRightShift), Windows::KeyRightAlt => Ok(Self::KeyRightalt), Windows::KeyRightGUI => Ok(Self::KeyRightmeta), Windows::KeyScanNextTrack => Ok(Self::KeyNextsong),