From ff7d0783353c2b57861b77b7a576be0c974ef3b9 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sat, 2 May 2020 14:42:00 +0200 Subject: [PATCH] Fix bug #252 on Linux --- src/context/linux.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/context/linux.rs b/src/context/linux.rs index 2f8e0a6..7089f78 100644 --- a/src/context/linux.rs +++ b/src/context/linux.rs @@ -125,6 +125,7 @@ extern fn keypress_callback(_self: *mut c_void, raw_buffer: *const u8, _len: i32 37 => Some(LEFT_CTRL), 105 => Some(RIGHT_CTRL), 22 => Some(BACKSPACE), + 66 => Some(CAPS_LOCK), _ => None, };