[ 
https://issues.apache.org/jira/browse/GUACAMOLE-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15808223#comment-15808223
 ] 

J-M Roth commented on GUACAMOLE-135:
------------------------------------

Here you go. I hope I understood the map file correctly... I inspired myself 
from the french and german map files.

In fact, where do the left-hand side codes come from? It's sick that e.g. code 
0x29 seems to be the top left key of the main keyboard, the following code 0x2A 
is left shift and 0x2B then seems to be the key left to the enter key =O 

Well I guess there is a lot of history in that.

{code}
parent  "base"
name    "ch-fr-qwertz"
freerdp "KBD_SWISS_FRENCH"

#
# 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 -altgr +shift 0x29 0x02..0x0C      ~ "°+"*ç%&/()=?"
map -altgr +shift      0x10..0x1B      ~ "QWERTZUIOPü!"
map -altgr +shift      0x1E..0x28 0x2B ~ "ASDFGHJKLöä£"
map -altgr +shift 0x56 0x2C..0x35      ~ ">YXCVBNM;:_"

#
# Keys requiring AltGr
#

map +altgr -shift 0x02..0x04 ~ "|@#"
map +altgr -shift 0x07..0x09 ~ "¬¦¢"

map +altgr -shift 0x1A..0x1B ~ "[]"

map +altgr -shift 0x28 ~ "{"
map +altgr -shift 0x2B ~ "}"

map +altgr -shift 0x56 ~ "\"

map +altgr -shift 0x12 ~ "€"

#
# Dead keys
#

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
{code}

> Add Swiss-French keymap for RDP
> -------------------------------
>
>                 Key: GUACAMOLE-135
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-135
>             Project: Guacamole
>          Issue Type: Improvement
>          Components: RDP
>            Reporter: Michael Jumper
>            Priority: Minor
>
> Guacamole's RDP support currently lacks the Swiss-French keyboard layout. It 
> should be added. The corresponding layout contstant in FreeRDP is 
> {{KBD_SWISS_FRENCH}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to