From 948d1bcac86f29008a7b6caf0119107f4e846b00 Mon Sep 17 00:00:00 2001 From: netromnetrom <35839198+netromnetrom@users.noreply.github.com> Date: Tue, 11 Sep 2018 13:40:25 +0200 Subject: [PATCH 1/4] Create dk_dk_qwerty.keymap Danish keyboard layout --- src/protocols/rdp/keymaps/dk_dk_qwerty.keymap | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 src/protocols/rdp/keymaps/dk_dk_qwerty.keymap diff --git a/src/protocols/rdp/keymaps/dk_dk_qwerty.keymap b/src/protocols/rdp/keymaps/dk_dk_qwerty.keymap new file mode 100644 index 00000000..6295cabd --- /dev/null +++ b/src/protocols/rdp/keymaps/dk_dk_qwerty.keymap @@ -0,0 +1,64 @@ +# +# 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 "dk-dk-qwerty" +freerdp "KBD_DANISH" + +# +# Basic keys +# + +map -altgr -shift 0x29 0x02..0x0C ~ "§1234567890+" +map -altgr -shift 0x10..0x1A ~ "qwertyuiopå" +map -altgr -shift 0x1E..0x28 0x2B ~ "asdfghjklæø'" +map -altgr -shift 0x56 0x2C..0x35 ~ "ZXCVBNM;:_" + +# +# Keys requiring AltGr +# + +map +altgr -shift 0x03 ~ "@" +map +altgr -shift 0x04 ~ "£" +map +altgr -shift 0x05 ~ "$" +map +altgr -shift 0x08 ~ "{" +map +altgr -shift 0x09 ~ "[" +map +altgr -shift 0x0A ~ "]" +map +altgr -shift 0x0B ~ "}" +map +altgr -shift 0x56 ~ "\" + +map +altgr -shift 0x12 ~ "€" + +map +altgr -shift 0x0D ~ "|" +map +altgr -shift 0x32 ~ "µ" + +# +# Dead keys +# + +map -altgr -shift 0x0D ~ 0xFE51 # Dead acute +map -altgr +shift 0x0D ~ 0xFE50 # Dead grave +map -altgr -shift 0x1B ~ 0xFE57 # Dead umlaut +map -altgr +shift 0x1B ~ 0xFE52 # Dead circumflex +map +altgr -shift 0x1B ~ 0xFE53 # Dead tilde From 5f8c6470ffe8bcd5f6594545174744d25d7aeea7 Mon Sep 17 00:00:00 2001 From: netromnetrom <35839198+netromnetrom@users.noreply.github.com> Date: Tue, 11 Sep 2018 13:44:29 +0200 Subject: [PATCH 2/4] Update Makefile.am Danish keyboard layout --- src/protocols/rdp/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/protocols/rdp/Makefile.am b/src/protocols/rdp/Makefile.am index cffabb2c..b58ddbb2 100644 --- a/src/protocols/rdp/Makefile.am +++ b/src/protocols/rdp/Makefile.am @@ -261,6 +261,7 @@ rdp_keymaps = \ $(srcdir)/keymaps/ja_jp_qwerty.keymap \ $(srcdir)/keymaps/pt_br_qwerty.keymap \ $(srcdir)/keymaps/sv_se_qwerty.keymap \ + $(srcdir)/keymaps/dk_dk_qwerty.keymap \ $(srcdir)/keymaps/tr_tr_qwerty.keymap _generated_keymaps.c: $(rdp_keymaps) From a06edb9deb203603c98cf8aea3fc85b0c51797ae Mon Sep 17 00:00:00 2001 From: netromnetrom <35839198+netromnetrom@users.noreply.github.com> Date: Tue, 22 Jan 2019 14:36:05 +0100 Subject: [PATCH 3/4] Update and rename dk_dk_qwerty.keymap to da_dk_qwerty.keymap --- .../rdp/keymaps/{dk_dk_qwerty.keymap => da_dk_qwerty.keymap} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/protocols/rdp/keymaps/{dk_dk_qwerty.keymap => da_dk_qwerty.keymap} (98%) diff --git a/src/protocols/rdp/keymaps/dk_dk_qwerty.keymap b/src/protocols/rdp/keymaps/da_dk_qwerty.keymap similarity index 98% rename from src/protocols/rdp/keymaps/dk_dk_qwerty.keymap rename to src/protocols/rdp/keymaps/da_dk_qwerty.keymap index 6295cabd..c4893d1b 100644 --- a/src/protocols/rdp/keymaps/dk_dk_qwerty.keymap +++ b/src/protocols/rdp/keymaps/da_dk_qwerty.keymap @@ -18,7 +18,7 @@ # parent "base" -name "dk-dk-qwerty" +name "da-dk-qwerty" freerdp "KBD_DANISH" # From 7b7c8a1b0226336122dbd7c37e6fc650e68762a4 Mon Sep 17 00:00:00 2001 From: netromnetrom <35839198+netromnetrom@users.noreply.github.com> Date: Tue, 22 Jan 2019 16:24:56 +0100 Subject: [PATCH 4/4] Update Makefile.am --- src/protocols/rdp/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/rdp/Makefile.am b/src/protocols/rdp/Makefile.am index b58ddbb2..ec7beaf8 100644 --- a/src/protocols/rdp/Makefile.am +++ b/src/protocols/rdp/Makefile.am @@ -261,7 +261,7 @@ rdp_keymaps = \ $(srcdir)/keymaps/ja_jp_qwerty.keymap \ $(srcdir)/keymaps/pt_br_qwerty.keymap \ $(srcdir)/keymaps/sv_se_qwerty.keymap \ - $(srcdir)/keymaps/dk_dk_qwerty.keymap \ + $(srcdir)/keymaps/da_dk_qwerty.keymap \ $(srcdir)/keymaps/tr_tr_qwerty.keymap _generated_keymaps.c: $(rdp_keymaps)