Patchwork [2/3] qemu-char: add Czech keymap file

login
register
mail settings
Submitter Jan Krupa
Date Aug. 27, 2013, 3:14 p.m.
Message ID <1377616488-16491-3-git-send-email-JKrupa@suse.com>
Download mbox | patch
Permalink /patch/270141/
State New
Headers show

Comments

Jan Krupa - Aug. 27, 2013, 3:14 p.m.
This patch adds Czech keyboard layout to available keymap files.

Signed-off-by: Jan Krupa <jkrupa@suse.com>
---
 pc-bios/keymaps/cz |   94 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 94 insertions(+), 0 deletions(-)
 create mode 100644 pc-bios/keymaps/cz
Michael Tokarev - Sept. 1, 2013, 3:19 p.m.
27.08.2013 19:14, Jan Krupa wrote:
> This patch adds Czech keyboard layout to available keymap files.
>
> Signed-off-by: Jan Krupa <jkrupa@suse.com>
> ---
>   pc-bios/keymaps/cz |   94 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>   1 files changed, 94 insertions(+), 0 deletions(-)
>   create mode 100644 pc-bios/keymaps/cz

This file is useles without a corresponding change to Makefile
(search for KEYMAPS= there).  Please add it there as well (either
in a separate patch or include it into this one).

Speaking of the keymap itself, and of the chars added in patch1,
I for one can't verify these, so I take it as granted.  After
all, this appears to be first attempt to implement cz keymap
in all these years...

Thanks,

/mjt

Patch

diff --git a/pc-bios/keymaps/cz b/pc-bios/keymaps/cz
new file mode 100644
index 0000000..6584bfb
--- /dev/null
+++ b/pc-bios/keymaps/cz
@@ -0,0 +1,94 @@ 
+include common
+
+# Czech qwertz layout
+# comments are czech descriptions of the characters
+
+# -----------
+#  First row
+# -----------
+
+# strednik, kolecko
+semicolon 0x29
+dead_abovering 0x29 shift
+
+# numbers
+plus 0x2
+1 0x2 shift
+ecaron 0x3
+2 0x3 shift
+scaron 0x4
+3 0x4 shift
+ccaron 0x5
+4 0x5 shift
+rcaron 0x6
+5 0x6 shift
+zcaron 0x7
+6 0x7 shift
+yacute 0x8
+7 0x8 shift
+aacute 0x9
+8 0x9 shift
+iacute 0xa
+9 0xa shift
+eacute 0xb
+0 0xb shift
+
+# rovnitko
+equal 0x0c
+percent 0x0c shift
+
+# carka, hacek
+dead_acute 0x0d
+dead_caron 0x0d shift
+
+# ------------
+#  Second row
+# ------------
+
+z 0x15 addupper
+
+# u s carkou, zpetne lomitko
+uacute 0x1a
+slash 0x1a shift
+
+# prava zavorka, leva zavorka
+parenright 0x1b
+parenleft 0x1b shift
+
+# -----------
+#  Third row
+# -----------
+
+# u s krouzkem, uvozovky
+uring 0x27
+quotedbl 0x27 shift
+
+# paragraf, vykricnik
+section 0x28
+exclam 0x28 shift
+
+# vodorovna dvojtecka, apostrof
+dead_diaeresis 0x2b
+apostrophe 0x2b shift
+
+# ------------
+#  Fourth row
+# ------------
+
+# zpetne lomitko, roura
+backslash 0x2b
+bar 0x2b shift
+
+y 0x2c addupper
+
+# carka, otaznik
+comma 0x33
+question 0x33 shift
+
+# tecka, dvojtecka
+period 0x34
+colon 0x34 shift
+
+# minus, podtrzitko
+minus 0x35
+underscore 0x35 shift