From 534158c1cbee7d87531ed2d36e2b919705f30dc9 Mon Sep 17 00:00:00 2001 From: ClassicGOD Date: Mon, 10 Jan 2022 20:28:11 +0100 Subject: [PATCH 1/2] GUACAMOLE-1495: add pl_pl_qwerty keymap Add keymap file for Polish keyboard layout --- src/protocols/rdp/keymaps/pl_pl_qwerty.keymap | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 src/protocols/rdp/keymaps/pl_pl_qwerty.keymap diff --git a/src/protocols/rdp/keymaps/pl_pl_qwerty.keymap b/src/protocols/rdp/keymaps/pl_pl_qwerty.keymap new file mode 100644 index 00000000..76b043d0 --- /dev/null +++ b/src/protocols/rdp/keymaps/pl_pl_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 "pl-pl-qwerty" +freerdp "KBD_POLISH_PROGRAMMERS" + +map -caps -shift 0x29 0x02..0x0D ~ "`1234567890-=" +map -caps -shift 0x10..0x1B 0x2B ~ "qwertyuiop[]\" +map -caps -shift 0x1E..0x28 ~ "asdfghjkl;'" +map -caps -shift 0x2C..0x35 ~ "zxcvbnm,./" + +map -caps +shift 0x29 0x02..0x0D ~ "~!@#$%^&*()_+" +map -caps +shift 0x10..0x1B 0x2B ~ "QWERTYUIOP{}|" +map -caps +shift 0x1E..0x28 ~ "ASDFGHJKL:"" +map -caps +shift 0x2C..0x35 ~ "ZXCVBNM<>?" + +map +caps -shift 0x29 0x02..0x0D ~ "`1234567890-=" +map +caps -shift 0x10..0x1B 0x2B ~ "QWERTYUIOP[]\" +map +caps -shift 0x1E..0x28 ~ "ASDFGHJKL;'" +map +caps -shift 0x2C..0x35 ~ "ZXCVBNM,./" + +map +caps +shift 0x29 0x02..0x0D ~ "~!@#$%^&*()_+" +map +caps +shift 0x10..0x1B 0x2B ~ "qwertyuiop{}|" +map +caps +shift 0x1E..0x28 ~ "asdfghjkl:"" +map +caps +shift 0x2C..0x35 ~ "zxcvbnm<>?" + +# +# Keys requiring AltGr +# + +map +altgr -shift 0x16 ~ "€" + +map -caps -shift +altgr 0x12 0x18 ~ "ęó" +map -caps -shift +altgr 0x1E 0x1F 0x26 ~ "ąśł" +map -caps -shift +altgr 0x2C 0x2D 0x2E 0x31 ~ "żźćń" + +map -caps +shift +altgr 0x12 0x18 ~ "ĘÓ" +map -caps +shift +altgr 0x1E 0x1F 0x26 ~ "ĄŚŁ" +map -caps +shift +altgr 0x2C 0x2D 0x2E 0x31 ~ "ŻŹĆŃ" + +map +caps -shift +altgr 0x12 0x18 ~ "ĘÓ" +map +caps -shift +altgr 0x1E 0x1F 0x26 ~ "ĄŚŁ" +map +caps -shift +altgr 0x2C 0x2D 0x2E 0x31 ~ "ŻŹĆŃ" + +map +caps +shift +altgr 0x12 0x18 ~ "ęó" +map +caps +shift +altgr 0x1E 0x1F 0x26 ~ "ąśł" +map +caps +shift +altgr 0x2C 0x2D 0x2E 0x31 ~ "żźćń" From a1d0d0aea46eb2ad46c009f1e99a326ced931350 Mon Sep 17 00:00:00 2001 From: ClassicGOD Date: Mon, 10 Jan 2022 20:31:41 +0100 Subject: [PATCH 2/2] GUACAMOLE-1495: add entry for pl_pl_qwerty Add pl_pl_qwerty.keymap to rdp_keymaps --- 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 8ab142f4..89c094bb 100644 --- a/src/protocols/rdp/Makefile.am +++ b/src/protocols/rdp/Makefile.am @@ -241,6 +241,7 @@ rdp_keymaps = \ $(srcdir)/keymaps/it_it_qwerty.keymap \ $(srcdir)/keymaps/ja_jp_qwerty.keymap \ $(srcdir)/keymaps/no_no_qwerty.keymap \ + $(srcdir)/keymaps/pl_pl_qwerty.keymap \ $(srcdir)/keymaps/pt_br_qwerty.keymap \ $(srcdir)/keymaps/sv_se_qwerty.keymap \ $(srcdir)/keymaps/da_dk_qwerty.keymap \