From badee3274bb773fc94060c3dea6aff2c0d4c9e14 Mon Sep 17 00:00:00 2001 From: P-Zs <52539371+P-Zs@users.noreply.github.com> Date: Thu, 4 Jul 2019 17:59:38 +0200 Subject: [PATCH 1/2] GUACAMOLE-837: Add Hungarian RDP keymap file to code base --- src/protocols/rdp/keymaps/hu_hu_qwertz.keymap | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/protocols/rdp/keymaps/hu_hu_qwertz.keymap diff --git a/src/protocols/rdp/keymaps/hu_hu_qwertz.keymap b/src/protocols/rdp/keymaps/hu_hu_qwertz.keymap new file mode 100644 index 00000000..bcb6a67c --- /dev/null +++ b/src/protocols/rdp/keymaps/hu_hu_qwertz.keymap @@ -0,0 +1,100 @@ +# +# 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 "hu-hu-qwertz" +freerdp "KBD_HUNGARIAN" + +# +# Basic keys +# + +map -altgr -shift 0x29 0x02..0x0D ~ "0123456789öüó" +map -altgr -shift 0x10..0x1B ~ "qwertzuıopőú" +map -altgr -shift 0x1E..0x28 0x2B ~ "asdfghjkléáű" +map -altgr -shift 0x56 0x2C..0x35 ~ "íyxcvbnm,.-" + +map -altgr +shift 0x29 0x02..0x0D ~ "§'"+!%/=()ÖÜÓ" +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 ~ "~" +map +altgr -shift 0x08 ~ "`" + +map +altgr -shift 0x10 ~ "\" +map +altgr -shift 0x11 ~ "|" +map +altgr -shift 0x12 ~ "Ä" +map +altgr -shift 0x16 ~ "€" +map +altgr -shift 0x17 ~ "Í" +map +altgr -shift 0x1A ~ "÷" +map +altgr -shift 0x1B ~ "×" + +map +altgr -shift 0x1E ~ "ä" +map +altgr -shift 0x1F ~ "đ" +map +altgr -shift 0x20 ~ "Đ" +map +altgr -shift 0x21 ~ "[" +map +altgr -shift 0x22 ~ "]" +map +altgr -shift 0x24 ~ "í" +map +altgr -shift 0x25 ~ "ł" +map +altgr -shift 0x26 ~ "Ł" +map +altgr -shift 0x27 ~ "$" +map +altgr -shift 0x28 ~ "ß" +map +altgr -shift 0x2B ~ "¤" + +map +altgr -shift 0x56 ~ "<" +map +altgr -shift 0x2C ~ ">" +map +altgr -shift 0x2D ~ "#" +map +altgr -shift 0x2E ~ "&" +map +altgr -shift 0x2F ~ "@" +map +altgr -shift 0x30 ~ "{" +map +altgr -shift 0x31 ~ "}" +map +altgr -shift 0x32 ~ "<" +map +altgr -shift 0x33 ~ ";" +map +altgr -shift 0x34 ~ ">" +map +altgr -shift 0x35 ~ "*" + + +# +# Keys requiring AltGr & Shift +# + + +# +# Dead keys +# + +map +altgr -shift 0x03 ~ 0xFE5A # Dead caron +map +altgr -shift 0x04 ~ 0xFE52 # Dead circumflex +map +altgr -shift 0x05 ~ 0xFE55 # Dead breve +map +altgr -shift 0x06 ~ 0xFE58 # Dead abovering +map +altgr -shift 0x07 ~ 0xFE5C # Dead ogonek +map +altgr -shift 0x09 ~ 0xFE56 # Dead abovedot +map +altgr -shift 0x0A ~ 0xFE51 # Dead acute +map +altgr -shift 0x0B ~ 0xFE59 # Dead doubleacute +map +altgr -shift 0x0C ~ 0xFE57 # Dead diaeresis +map +altgr -shift 0x0D ~ 0xFE5B # Dead cedilla + + +# END From 8f1826d3e4dbc13f757b846f9e692f8d557b7cd1 Mon Sep 17 00:00:00 2001 From: P-Zs <52539371+P-Zs@users.noreply.github.com> Date: Thu, 4 Jul 2019 18:01:02 +0200 Subject: [PATCH 2/2] GUACAMOLE-837: Update Makefile.am to reference the new Hungarian keymap file --- 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 b7b8d2f9..d679a713 100644 --- a/src/protocols/rdp/Makefile.am +++ b/src/protocols/rdp/Makefile.am @@ -270,6 +270,7 @@ rdp_keymaps = \ $(srcdir)/keymaps/es_es_qwerty.keymap \ $(srcdir)/keymaps/fr_fr_azerty.keymap \ $(srcdir)/keymaps/fr_ch_qwertz.keymap \ + $(srcdir)/keymaps/hu_hu_qwertz.keymap \ $(srcdir)/keymaps/it_it_qwerty.keymap \ $(srcdir)/keymaps/ja_jp_qwerty.keymap \ $(srcdir)/keymaps/pt_br_qwerty.keymap \