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.
This commit is contained in:
Weston Thayer 2019-08-08 20:52:28 -04:00
parent 289ceac222
commit a189c9ab8a

View File

@ -42,7 +42,7 @@ map +ext 0x37 ~ 0xff61 # Print Screen
# Locks # Locks
map 0x45 ~ 0xff7f # Num_Lock map 0x45 ~ 0xff7f # Num_Lock
map 0x46 ~ 0xff14 # Scroll_Lock map 0x46 ~ 0xff14 # Scroll_Lock
map +ext 0x3A ~ 0xffe5 # Caps_Lock map 0x3A ~ 0xffe5 # Caps_Lock
# Keypad numerals # Keypad numerals
map -shift +num 0x52 ~ 0xffb0 # KP_0 map -shift +num 0x52 ~ 0xffb0 # KP_0