From 38737a83531bc523d65ae718170c82625d361efb Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 22 Jun 2020 20:42:31 -0700 Subject: [PATCH] GUACAMOLE-518: Update Brazilian Portuguese keymap to define behavior of Caps Lock. On Brazilian Portuguese keyboards, Caps Lock affects only letters (including accented letters) and is undone by Shift. --- src/protocols/rdp/keymaps/pt_br_qwerty.keymap | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/src/protocols/rdp/keymaps/pt_br_qwerty.keymap b/src/protocols/rdp/keymaps/pt_br_qwerty.keymap index 54df313c..9bb2bb0f 100644 --- a/src/protocols/rdp/keymaps/pt_br_qwerty.keymap +++ b/src/protocols/rdp/keymaps/pt_br_qwerty.keymap @@ -25,15 +25,25 @@ freerdp "KBD_PORTUGUESE_BRAZILIAN_ABNT2" # Basic keys # -map -altgr -shift 0x29 0x02..0x0D ~ "'1234567890-=" -map -altgr -shift 0x10..0x19 0x1B ~ "qwertyuiop[" -map -altgr -shift 0x1E..0x27 0x2B ~ "asdfghjklç]" -map -altgr -shift 0x56 0x2C..0x36 ~ "\zxcvbnm,.;/" +map -caps -altgr -shift 0x29 0x02..0x0D ~ "'1234567890-=" +map -caps -altgr -shift 0x10..0x19 0x1B ~ "qwertyuiop[" +map -caps -altgr -shift 0x1E..0x27 0x2B ~ "asdfghjklç]" +map -caps -altgr -shift 0x56 0x2C..0x36 ~ "\zxcvbnm,.;/" -map -altgr +shift 0x29 0x02..0x06 0x08..0x0D ~ ""!@#$%&*()_+" -map -altgr +shift 0x10..0x19 0x1B ~ "QWERTYUIOP{" -map -altgr +shift 0x1E..0x27 0x2B ~ "ASDFGHJKLÇ}" -map -altgr +shift 0x56 0x2C..0x36 ~ "|ZXCVBNM<>:?" +map -caps -altgr +shift 0x29 0x02..0x06 0x08..0x0D ~ ""!@#$%&*()_+" +map -caps -altgr +shift 0x10..0x19 0x1B ~ "QWERTYUIOP{" +map -caps -altgr +shift 0x1E..0x27 0x2B ~ "ASDFGHJKLÇ}" +map -caps -altgr +shift 0x56 0x2C..0x36 ~ "|ZXCVBNM<>:?" + +map +caps -altgr -shift 0x29 0x02..0x0D ~ "'1234567890-=" +map +caps -altgr -shift 0x10..0x19 0x1B ~ "QWERTYUIOP[" +map +caps -altgr -shift 0x1E..0x27 0x2B ~ "ASDFGHJKLÇ]" +map +caps -altgr -shift 0x56 0x2C..0x36 ~ "\ZXCVBNM,.;/" + +map +caps -altgr +shift 0x29 0x02..0x06 0x08..0x0D ~ ""!@#$%&*()_+" +map +caps -altgr +shift 0x10..0x19 0x1B ~ "qwertyuiop{" +map +caps -altgr +shift 0x1E..0x27 0x2B ~ "asdfghjklç}" +map +caps -altgr +shift 0x56 0x2C..0x36 ~ "|zxcvbnm<>:?" # # Keys requiring AltGr