From 024e281252be0ef3bca4495ba44fe13d5b8ecf79 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 22 Jun 2020 20:33:12 -0700 Subject: [PATCH] GUACAMOLE-518: Update US English keymap to define behavior of Caps Lock. On US English keyboards, Caps Lock affects only letters and is undone by Shift. --- src/protocols/rdp/keymaps/en_us_qwerty.keymap | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/src/protocols/rdp/keymaps/en_us_qwerty.keymap b/src/protocols/rdp/keymaps/en_us_qwerty.keymap index 4df9e2e9..ddb38e15 100644 --- a/src/protocols/rdp/keymaps/en_us_qwerty.keymap +++ b/src/protocols/rdp/keymaps/en_us_qwerty.keymap @@ -21,13 +21,23 @@ parent "base" name "en-us-qwerty" freerdp "KBD_US" -map -shift 0x29 0x02..0x0D ~ "`1234567890-=" -map -shift 0x10..0x1B 0x2B ~ "qwertyuiop[]\" -map -shift 0x1E..0x28 ~ "asdfghjkl;'" -map -shift 0x2C..0x35 ~ "zxcvbnm,./" +map -caps -shift 0x29 0x02..0x0D ~ "`1234567890-=" +map -caps -shift 0x10..0x1B 0x2B ~ "qwertyuiop[]\" +map -caps -shift 0x1E..0x28 ~ "asdfghjkl;'" +map -caps -shift 0x2C..0x35 ~ "zxcvbnm,./" -map +shift 0x29 0x02..0x0D ~ "~!@#$%^&*()_+" -map +shift 0x10..0x1B 0x2B ~ "QWERTYUIOP{}|" -map +shift 0x1E..0x28 ~ "ASDFGHJKL:"" -map +shift 0x2C..0x35 ~ "ZXCVBNM<>?" +map -caps +shift 0x29 0x02..0x0D ~ "~!@#$%^&*()_+" +map -caps +shift 0x10..0x1B 0x2B ~ "QWERTYUIOP{}|" +map -caps +shift 0x1E..0x28 ~ "ASDFGHJKL:"" +map -caps +shift 0x2C..0x35 ~ "ZXCVBNM<>?" + +map +caps -shift 0x29 0x02..0x0D ~ "`1234567890-=" +map +caps -shift 0x10..0x1B 0x2B ~ "QWERTYUIOP[]\" +map +caps -shift 0x1E..0x28 ~ "ASDFGHJKL;'" +map +caps -shift 0x2C..0x35 ~ "ZXCVBNM,./" + +map +caps +shift 0x29 0x02..0x0D ~ "~!@#$%^&*()_+" +map +caps +shift 0x10..0x1B 0x2B ~ "qwertyuiop{}|" +map +caps +shift 0x1E..0x28 ~ "asdfghjkl:"" +map +caps +shift 0x2C..0x35 ~ "zxcvbnm<>?"