GUACAMOLE-518: Update Swiss German keymap to define behavior of Caps Lock.

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.
This commit is contained in:
Michael Jumper 2020-06-22 21:57:00 -07:00
parent e8153f9002
commit 3f375a4501

View File

@ -25,15 +25,25 @@ freerdp "KBD_SWISS_GERMAN"
# Basic keys # Basic keys
# #
map -altgr -shift 0x29 0x02..0x0C ~ "§1234567890'" map -caps -altgr -shift 0x29 0x02..0x0C ~ "§1234567890'"
map -altgr -shift 0x10..0x1A ~ "qwertzuiopü" map -caps -altgr -shift 0x10..0x1A ~ "qwertzuiopü"
map -altgr -shift 0x1E..0x28 0x2B ~ "asdfghjklöä$" map -caps -altgr -shift 0x1E..0x28 0x2B ~ "asdfghjklöä$"
map -altgr -shift 0x56 0x2C..0x35 ~ "<yxcvbnm,.-" map -caps -altgr -shift 0x56 0x2C..0x35 ~ "<yxcvbnm,.-"
map -altgr +shift 0x29 0x02..0x0C ~ "°+"*ç%&/()=?" map -caps -altgr +shift 0x29 0x02..0x0C ~ "°+"*ç%&/()=?"
map -altgr +shift 0x10..0x1B ~ "QWERTZUIOPè!" map -caps -altgr +shift 0x10..0x1B ~ "QWERTZUIOPè!"
map -altgr +shift 0x1E..0x28 0x2B ~ "ASDFGHJKLéà£" map -caps -altgr +shift 0x1E..0x28 0x2B ~ "ASDFGHJKLéà£"
map -altgr +shift 0x56 0x2C..0x35 ~ ">YXCVBNM;:_" 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,.-"
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;:_"
# #
# Keys requiring AltGr # 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 ~ 0xFE52 # Dead circumflex
map -altgr +shift 0x0D ~ 0xFE50 # Dead grave map -altgr +shift 0x0D ~ 0xFE50 # Dead grave
map +altgr -shift 0x0D ~ 0xFE53 # Dead tilde map +altgr -shift 0x0D ~ 0xFE53 # Dead tilde
map -altgr -shift 0x1B ~ 0xFE57 # Dead umlaut map -altgr -shift 0x1B ~ 0xFE57 # Dead umlaut