From 3f375a45017e853553ce6d35cf2630be5db44600 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 22 Jun 2020 21:57:00 -0700 Subject: [PATCH] GUACAMOLE-518: Update Swiss German keymap to define behavior of Caps Lock. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Swiss German keyboards, Caps Lock turns all letters uppercase and is undone by Shift, except for letters which instead rely on Shift to determine their identity (accented letters). For example, the key directly to the right of "P" produces "ü" if no modifiers or locks are active. With Shift pressed, the key changes identity to "è", with the state of Caps Lock determining the case: | Shift | Caps | Result | |-------|-------|--------| | | | "ü" | | | X | "Ü" | | X | | "è" | | X | X | "È" | This goes for all accented characters in the Swiss German layout. --- src/protocols/rdp/keymaps/de_ch_qwertz.keymap | 28 +++++++++++++------ 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/src/protocols/rdp/keymaps/de_ch_qwertz.keymap b/src/protocols/rdp/keymaps/de_ch_qwertz.keymap index 59b9eba2..c4d80c7a 100644 --- a/src/protocols/rdp/keymaps/de_ch_qwertz.keymap +++ b/src/protocols/rdp/keymaps/de_ch_qwertz.keymap @@ -25,15 +25,25 @@ freerdp "KBD_SWISS_GERMAN" # Basic keys # -map -altgr -shift 0x29 0x02..0x0C ~ "§1234567890'" -map -altgr -shift 0x10..0x1A ~ "qwertzuiopü" -map -altgr -shift 0x1E..0x28 0x2B ~ "asdfghjklöä$" -map -altgr -shift 0x56 0x2C..0x35 ~ "YXCVBNM;:_" +map -caps -altgr +shift 0x29 0x02..0x0C ~ "°+"*ç%&/()=?" +map -caps -altgr +shift 0x10..0x1B ~ "QWERTZUIOPè!" +map -caps -altgr +shift 0x1E..0x28 0x2B ~ "ASDFGHJKLéà£" +map -caps -altgr +shift 0x56 0x2C..0x35 ~ ">YXCVBNM;:_" + +map +caps -altgr -shift 0x29 0x02..0x0C ~ "§1234567890'" +map +caps -altgr -shift 0x10..0x1A ~ "QWERTZUIOPÜ" +map +caps -altgr -shift 0x1E..0x28 0x2B ~ "ASDFGHJKLÖÄ$" +map +caps -altgr -shift 0x56 0x2C..0x35 ~ "yxcvbnm;:_" # # Keys requiring AltGr @@ -55,4 +65,4 @@ map +altgr -shift 0x0C ~ 0xFE51 # Dead acute map -altgr -shift 0x0D ~ 0xFE52 # Dead circumflex map -altgr +shift 0x0D ~ 0xFE50 # Dead grave map +altgr -shift 0x0D ~ 0xFE53 # Dead tilde -map -altgr -shift 0x1B ~ 0xFE57 # Dead umlaut \ No newline at end of file +map -altgr -shift 0x1B ~ 0xFE57 # Dead umlaut