From 1822e59ac3c708ae736b1402cc4bef0bd62ddc2b Mon Sep 17 00:00:00 2001 From: Jukka-Pekka Virtanen Date: Thu, 14 Nov 2019 12:50:35 +0200 Subject: [PATCH] GUACAMOLE-901: Belgian French keymap Add Belgian French keymap file and add it to build process. Keymap is based on https://commons.wikimedia.org/wiki/File:Belgian_pc_keyboard.svg --- src/protocols/rdp/Makefile.am | 3 +- src/protocols/rdp/keymaps/fr_be_azerty.keymap | 58 +++++++++++++++++++ 2 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 src/protocols/rdp/keymaps/fr_be_azerty.keymap diff --git a/src/protocols/rdp/Makefile.am b/src/protocols/rdp/Makefile.am index d679a713..97b551d0 100644 --- a/src/protocols/rdp/Makefile.am +++ b/src/protocols/rdp/Makefile.am @@ -268,8 +268,9 @@ rdp_keymaps = \ $(srcdir)/keymaps/en_gb_qwerty.keymap \ $(srcdir)/keymaps/en_us_qwerty.keymap \ $(srcdir)/keymaps/es_es_qwerty.keymap \ - $(srcdir)/keymaps/fr_fr_azerty.keymap \ + $(srcdir)/keymaps/fr_be_azerty.keymap \ $(srcdir)/keymaps/fr_ch_qwertz.keymap \ + $(srcdir)/keymaps/fr_fr_azerty.keymap \ $(srcdir)/keymaps/hu_hu_qwertz.keymap \ $(srcdir)/keymaps/it_it_qwerty.keymap \ $(srcdir)/keymaps/ja_jp_qwerty.keymap \ diff --git a/src/protocols/rdp/keymaps/fr_be_azerty.keymap b/src/protocols/rdp/keymaps/fr_be_azerty.keymap new file mode 100644 index 00000000..cf2def61 --- /dev/null +++ b/src/protocols/rdp/keymaps/fr_be_azerty.keymap @@ -0,0 +1,58 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +parent "base" +name "fr-be-azerty" +freerdp "KBD_BELGIAN_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?./+" + +# +# Keys requiring AltGr +# + +map +altgr -shift 0x02..0x04 ~ "|@#" +map +altgr -shift 0x0A..0x0B ~ "{}" +map +altgr -shift 0x1A..0x1B ~ "[]" + +map +altgr -shift 0x12 ~ "€" +map +altgr -shift 0x56 ~ "\" +map +altgr -shift 0x07 ~ "^" + +# +# Dead keys +# + +map -altgr -shift 0x1A ~ 0xFE52 # Dead circumflex +map -altgr +shift 0x1A ~ 0xFE57 # Dead umlaut +map +altgr -shift 0x35 ~ 0xFE53 # Dead tilde +map +altgr -shift 0x28 ~ 0xFE51 # Dead acute +map +altgr -shift 0x2B ~ 0xFE50 # Dead grave