From e8153f90020f27b6cb6d933c3fb6313679f985e4 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 22 Jun 2020 21:46:57 -0700 Subject: [PATCH] GUACAMOLE-518: Update French keymap to define behavior of Caps Lock. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On French keyboards, Caps Lock behaves like Shift, affects all characters including dead keys but excluding "<", ">", "²", and any keys requiring AltGr, and is undone by Shift. --- src/protocols/rdp/keymaps/fr_fr_azerty.keymap | 37 +++++++++++++------ 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/src/protocols/rdp/keymaps/fr_fr_azerty.keymap b/src/protocols/rdp/keymaps/fr_fr_azerty.keymap index ff5295ed..7f4f8327 100644 --- a/src/protocols/rdp/keymaps/fr_fr_azerty.keymap +++ b/src/protocols/rdp/keymaps/fr_fr_azerty.keymap @@ -25,18 +25,28 @@ freerdp "KBD_FRENCH" # Basic keys # -map -altgr -shift 0x29 0x02..0x0D ~ "²&é"'(-è_çà)=" -map -altgr -shift 0x10..0x19 0x1B ~ "azertyuiop$" -map -altgr -shift 0x1E..0x28 0x2B ~ "qsdfghjklmù*" -map -altgr -shift 0x56 0x2C..0x35 ~ "WXCVBN?./§" +map -caps -altgr +shift 0x02..0x0D ~ "1234567890°+" +map -caps -altgr +shift 0x10..0x19 0x1B ~ "AZERTYUIOP£" +map -caps -altgr +shift 0x1E..0x28 0x2B ~ "QSDFGHJKLM%µ" +map -caps -altgr +shift 0x56 0x2C..0x35 ~ ">WXCVBN?./§" + +map +caps -altgr -shift 0x29 0x02..0x0D ~ "²1234567890°+" +map +caps -altgr -shift 0x10..0x19 0x1B ~ "AZERTYUIOP£" +map +caps -altgr -shift 0x1E..0x28 0x2B ~ "QSDFGHJKLM%µ" +map +caps -altgr -shift 0x56 0x2C..0x35 ~ "wxcvbn,;:!" # -# Keys requiring AltGr +# Keys requiring AltGr (unaffected by Caps Lock, but Shift must not be pressed) # map +altgr -shift 0x03..0x0D ~ "~#{[|`\^@]}" @@ -45,9 +55,12 @@ map +altgr -shift 0x12 ~ "€" map +altgr -shift 0x1B ~ "¤" # -# Dead keys +# Dead keys (affected by Caps Lock and Shift) # -map -altgr -shift 0x1A ~ 0xFE52 # Dead circumflex -map -altgr +shift 0x1A ~ 0xFE57 # Dead umlaut +map -caps -altgr -shift 0x1A ~ 0xFE52 # Dead circumflex +map -caps -altgr +shift 0x1A ~ 0xFE57 # Dead umlaut + +map +caps -altgr -shift 0x1A ~ 0xFE57 # Dead umlaut +map +caps -altgr +shift 0x1A ~ 0xFE52 # Dead circumflex