From a189c9ab8ab855f1f4fdee7cbc1c6f1c4a85ccd8 Mon Sep 17 00:00:00 2001 From: Weston Thayer Date: Thu, 8 Aug 2019 20:52:28 -0400 Subject: [PATCH] GUACAMOLE-859: Remove +ext from Caps Lock keymapping. When connected with a Guacamole RDP session, the keysym for Caps Lock (0xffe5) is sent over RDP as scancode 0xe03a. Windows does not understand this scancode, thus does not generate the correct VK (Virtual Key) events. Removing +ext from the keymap sends the scancode 0x003a, which is correctly recognized by Windows as Caps Lock. This enables Windows applications to listen for key down and key up events on the Caps Lock key while connected via a Guacamole RDP session. Note: this issue likely went un-noticed for a long time because it only impacts the key up and down events for the Caps Lock key, not Caps Lock's effect on sending uppercase [A-Z] characters. --- src/protocols/rdp/keymaps/base.keymap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/rdp/keymaps/base.keymap b/src/protocols/rdp/keymaps/base.keymap index c55a37fc..d02c5eab 100644 --- a/src/protocols/rdp/keymaps/base.keymap +++ b/src/protocols/rdp/keymaps/base.keymap @@ -42,7 +42,7 @@ map +ext 0x37 ~ 0xff61 # Print Screen # Locks map 0x45 ~ 0xff7f # Num_Lock map 0x46 ~ 0xff14 # Scroll_Lock -map +ext 0x3A ~ 0xffe5 # Caps_Lock +map 0x3A ~ 0xffe5 # Caps_Lock # Keypad numerals map -shift +num 0x52 ~ 0xffb0 # KP_0