aboutsummaryrefslogtreecommitdiff
path: root/test/data/symbols/cz
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/symbols/cz')
-rw-r--r--test/data/symbols/cz232
1 files changed, 230 insertions, 2 deletions
diff --git a/test/data/symbols/cz b/test/data/symbols/cz
index 3407e92..8fbff0e 100644
--- a/test/data/symbols/cz
+++ b/test/data/symbols/cz
@@ -1,4 +1,4 @@
-default partial alphanumeric_keys
+default partial alphanumeric_keys
xkb_symbols "basic" {
// This layout conforms to a new Czech compromise standard
@@ -108,6 +108,74 @@ xkb_symbols "qwerty_bksl" {
key <BKSL> { [ backslash, bar, slash, NoSymbol ] };
};
+partial alphanumeric_keys
+xkb_symbols "qwerty-mac" {
+
+ // This layout corresponds to the Apple's Czech - QWERTY.
+ // 2018 by Jakub Jirutka <jakub@jirutka.cz>
+
+ include "latin"
+ name[Group1]= "Czech (QWERTY, Macintosh)";
+
+ key <TLDE> { [ less, greater, lessthanequal, greaterthanequal]};
+ key <AE01> { [ plus, 1, grave, notsign ] };
+ key <AE02> { [ ecaron, 2, at, enfilledcircbullet]};
+ key <AE03> { [ scaron, 3, numbersign, notequal ] };
+ key <AE04> { [ ccaron, 4, dollar, sterling ] };
+ key <AE05> { [ rcaron, 5, asciitilde, U25CA ] };
+ key <AE06> { [ zcaron, 6, asciicircum, dagger ] };
+ key <AE07> { [ yacute, 7, ampersand, paragraph ] };
+ key <AE08> { [ aacute, 8, asterisk, division ] };
+ key <AE09> { [ iacute, 9, braceleft, guillemotleft] };
+ key <AE10> { [ eacute, 0, braceright, guillemotright]};
+ key <AE11> { [ equal, percent, dead_abovering, dead_cedilla]};
+ key <AE12> { [dead_acute, dead_caron, dead_circumflex, dead_macron]};
+
+ key <AD01> { [ q, Q, NoSymbol, NoSymbol ] };
+ key <AD02> { [ w, W, eabovedot, Eabovedot ] };
+ key <AD03> { [ e, E, eogonek, Eogonek ] };
+ key <AD04> { [ r, R, EuroSign, registered ] };
+ key <AD05> { [ t, T, NoSymbol, trademark ] };
+ key <AD06> { [ y, Y, NoSymbol, NoSymbol ] };
+ key <AD07> { [ u, U, NoSymbol, NoSymbol ] };
+ key <AD08> { [ i, I, NoSymbol, NoSymbol ] };
+ key <AD09> { [ o, O, NoSymbol, NoSymbol ] };
+ key <AD10> { [ p, P, NoSymbol, NoSymbol ] };
+
+ key <AD11> { [ uacute, slash, bracketleft, less ] };
+ key <AD12> { [parenright, parenleft, bracketright, greater ] };
+
+ key <AC01> { [ a, A, aogonek, Aogonekl ] };
+ key <AC02> { [ s, S, ssharp, U2211 ] };
+ key <AC03> { [ d, D, partialderivate, U2206 ] };
+ key <AC04> { [ f, F, NoSymbol, NoSymbol ] };
+ key <AC05> { [ g, G, NoSymbol, NoSymbol ] };
+ key <AC06> { [ h, H, leftsinglequotemark, leftdoublequotemark]};
+ key <AC07> { [ j, J, rightsinglequotemark, rightdoublequotemark]};
+ key <AC08> { [ k, K, NoSymbol, NoSymbol ] };
+ key <AC09> { [ l, L, lstroke, Lstroke ] };
+
+ key <AC10> { [ uring, quotedbl, semicolon, ellipsis ] };
+ key <AC11> { [ section, exclam, apostrophe, dead_tilde ] };
+ key <BKSL> { [dead_diaeresis, grave, dead_diaeresis, dead_doubleacute]};
+
+ key <LSGT> { [ backslash, bar, NoSymbol, NoSymbol ] };
+ key <AB01> { [ z, Z, zabovedot, Zabovedot ] };
+ key <AB02> { [ x, X, NoSymbol, NoSymbol ] };
+ key <AB03> { [ c, C, NoSymbol, copyright ] };
+ key <AB04> { [ v, V, NoSymbol, squareroot ] };
+ key <AB05> { [ b, B, NoSymbol, NoSymbol ] };
+ key <AB06> { [ n, N, singlelowquotemark, doublelowquotemark]};
+ key <AB07> { [ m, M, NoSymbol, NoSymbol ] };
+ key <AB08> { [ comma, question, less, lessthanequal] };
+ key <AB09> { [ period, colon, greater, greaterthanequal]};
+ key <AB10> { [ minus, underscore, endash, emdash ] };
+
+ key <SPCE> { [ space, space, nobreakspace, nobreakspace ] };
+
+ include "level3(ralt_switch)"
+};
+
partial alphanumeric_keys alternate_group
xkb_symbols "ucw" {
@@ -118,7 +186,7 @@ xkb_symbols "ucw" {
name[Group1]= "Czech (UCW, only accented letters)";
key <AB01> { [zcaron, Zcaron ] };
- key <AB02> { [ssharp ] };
+ key <AB02> { [ssharp, U1E9E ] };
key <AB03> { [ccaron, Ccaron ] };
key <AB04> { [ccedilla, Ccedilla ] };
key <AB05> { [ntilde, Ntilde ] };
@@ -253,3 +321,163 @@ partial alphanumeric_keys
xkb_symbols "sun_type6" {
include "sun_vndr/cz(sun_type6)"
};
+
+xkb_symbols "prog" {
+ // cz-prog 1.0 2019-05-15 by Viktor Grešák <vgresak@gmail.com> and Tomáš Hudec <Tommy.Hudec@gmail.com>
+ //
+ // Programmer keyboard. Based on the US layout with accented Czech letters and dead keys.
+ // Using AltGr and a key from the 1st row generates original level 2 US key as level 3 except TLDE and AE12.
+ // Using AltGr+Shift on accented letters generates its uppercase variant.
+ // Using AltGr or AltGr+Shift on letters which have accent in Czech but are not on the 1st row directly accessible generate accented letters,
+ // i.e. [d, D], [t, T], [n, N], [o, O] generate with AltGr and AltGr+Shift: [dcaron, Dcaron], [tcaron, Tcaron], [ncaron, Ncaron], [oacute, Oacute].
+ // Other Czech letters besides alphanumeric keys (like uacute, uring) are generated using AltGr.
+
+ name[Group1]="Czech (programming)";
+
+ key <AB01> { [ z, Z ] };
+ key <AB02> { [ x, X ] };
+ key <AB03> { [ c, C ] };
+ key <AB04> { [ v, V ] };
+ key <AB05> { [ b, B ] };
+ key <AB06> { [ n, N, ncaron, Ncaron ] };
+ key <AB07> { [ m, M ] };
+ key <AB08> { [ comma, less, multiply ] };
+ key <AB09> { [ period, greater, division ] };
+ key <AB10> { [ slash, question, dead_abovedot ] };
+ key <AC01> { [ a, A ] };
+ key <AC02> { [ s, S ] };
+ key <AC03> { [ d, D, dcaron, Dcaron ] };
+ key <AC04> { [ f, F ] };
+ key <AC05> { [ g, G ] };
+ key <AC06> { [ h, H ] };
+ key <AC07> { [ j, J ] };
+ key <AC08> { [ k, K ] };
+ key <AC09> { [ l, L ] };
+ key <AC10> { [ semicolon, colon, uring, Uring ] };
+ key <AC11> { [ apostrophe, quotedbl, section ] };
+ key <AD01> { [ q, Q ] };
+ key <AD02> { [ w, W ] };
+ key <AD03> { [ e, E ] };
+ key <AD04> { [ r, R ] };
+ key <AD05> { [ t, T, tcaron, Tcaron ] };
+ key <AD06> { [ y, Y ] };
+ key <AD07> { [ u, U ] };
+ key <AD08> { [ i, I ] };
+ key <AD09> { [ o, O, oacute, Oacute ] };
+ key <AD10> { [ p, P ] };
+ key <AD11> { [ bracketleft, braceleft, uacute, Uacute ] };
+ key <AD12> { [ bracketright, braceright ] };
+ key <AE01> { [ plus, 1, exclam, NoSymbol ] };
+ key <AE02> { [ ecaron, 2, at, Ecaron ] };
+ key <AE03> { [ scaron, 3, numbersign, Scaron ] };
+ key <AE04> { [ ccaron, 4, dollar, Ccaron ] };
+ key <AE05> { [ rcaron, 5, percent, Rcaron ] };
+ key <AE06> { [ zcaron, 6, asciicircum, Zcaron ] };
+ key <AE07> { [ yacute, 7, ampersand, Yacute ] };
+ key <AE08> { [ aacute, 8, asterisk, Aacute ] };
+ key <AE09> { [ iacute, 9, parenleft, Iacute ] };
+ key <AE10> { [ eacute, 0, parenright, Eacute ] };
+ key <AE11> { [ equal, minus, underscore, U2212 ] };
+ key <AE12> { [ dead_acute, dead_caron, plusminus, notequal ] };
+ key <BKSL> { [ backslash, bar, dead_diaeresis ] };
+ key <BKSP> { [ BackSpace, BackSpace ] };
+ key <CAPS> { [ Caps_Lock ] };
+ key <COMP> { [ Menu, Multi_key ] };
+ key <LALT> { [ Alt_L, Meta_L ] };
+ key <LCTL> { [ Control_L ] };
+ key <LFSH> { [ Shift_L ] };
+ key <LWIN> { [ Super_L ] };
+ key <RALT> { [ ISO_Level3_Shift ] };
+ key <RCTL> { [ Control_R ] };
+ key <RTRN> { [ Return ] };
+ key <RTSH> { [ Shift_R ] };
+ key <RWIN> { [ Super_R ] };
+ key <SPCE> { [ space ] };
+ key <TAB> { [ Tab, ISO_Left_Tab ] };
+ key <TLDE> { [ grave, asciitilde ] };
+
+ include "level3(ralt_switch)"
+};
+
+xkb_symbols "typo" {
+ // cz-typo 1.0 2019-05-15 by Viktor Grešák <vgresak@gmail.com> and Tomáš Hudec <Tommy.Hudec@gmail.com>
+ //
+ // Contains typographic symbols in third and fourth level.
+ // It is intended to be used in conjuction with other existing layout, e.g. setxkbmap -symbols "pc+cz(basic)+cz(typo)+inet(evdev)"
+
+ name[Group1]="Czech (typographic)";
+
+ key <AB01> { [ NoSymbol, NoSymbol, degree, U2300 ] };
+ key <AB02> { [ NoSymbol, NoSymbol, multiply, U22C5 ] };
+ key <AB03> { [ NoSymbol, NoSymbol, ampersand, copyright ] };
+ key <AB04> { [ NoSymbol, NoSymbol, at, ordfeminine ] };
+ key <AB05> { [ NoSymbol, NoSymbol, enfilledcircbullet, enopencircbullet ] };
+ key <AB07> { [ NoSymbol, NoSymbol, U203A, U2039 ] };
+ key <AB08> { [ NoSymbol, NoSymbol, doublelowquotemark, leftdoublequotemark ] };
+ key <AB09> { [ NoSymbol, NoSymbol, ellipsis, rightdoublequotemark ] };
+ key <AB10> { [ NoSymbol, NoSymbol, endash, emdash ] };
+ key <AC04> { [ NoSymbol, NoSymbol, UFB00, UFB05 ] };
+ key <AC06> { [ NoSymbol, NoSymbol, U2010, U2011 ] };
+ key <AC07> { [ NoSymbol, NoSymbol, guillemotright, guillemotleft ] };
+ key <AC08> { [ NoSymbol, NoSymbol, dagger, doubledagger ] };
+ key <AC09> { [ NoSymbol, NoSymbol, UFB02, UFB04 ] };
+ key <AC11> { [ NoSymbol, NoSymbol, NoSymbol, UFB03 ] };
+ key <AD04> { [ NoSymbol, NoSymbol, U2030, registered ] };
+ key <AD06> { [ NoSymbol, NoSymbol, leftarrow ] };
+ key <AD07> { [ NoSymbol, NoSymbol, downarrow, uparrow ] };
+ key <AD08> { [ NoSymbol, NoSymbol, rightarrow, UFB01 ] };
+ key <AD10> { [ NoSymbol, NoSymbol, minutes, seconds ] };
+ key <AE01> { [ NoSymbol, NoSymbol, NoSymbol, rightsinglequotemark ] };
+ key <AE11> { [ NoSymbol, NoSymbol, underscore, U2212 ] };
+ key <SPCE> { [ space, space, space, nobreakspace ] };
+ key <TLDE> { [ NoSymbol, NoSymbol, singlelowquotemark, leftsinglequotemark ] };
+};
+
+xkb_symbols "coder" {
+
+ // US layout with Czech chars under AltGr
+ // for touch-typing programmers who need to write Czech occasionally
+ // https://github.com/michalkahle/czech-coder-xkb
+
+ include "us"
+ name[Group1]= "Czech (coder)";
+
+ key <TLDE>{[ grave, asciitilde, semicolon, dead_abovering ]};
+ key <AE02>{[ 2, at, ecaron, Ecaron ]};
+ key <AE03>{[ 3, numbersign, scaron, Scaron ]};
+ key <AE04>{[ 4, dollar, ccaron, Ccaron ]};
+ key <AE05>{[ 5, percent, rcaron, Rcaron ]};
+ key <AE06>{[ 6, asciicircum, zcaron, Zcaron ]};
+ key <AE07>{[ 7, ampersand, yacute, Yacute ]};
+ key <AE08>{[ 8, asterisk, aacute, Aacute ]};
+ key <AE09>{[ 9, parenleft, iacute, Iacute ]};
+ key <AE10>{[ 0, parenright, eacute, Eacute ]};
+ key <AE12>{[ equal, plus, dead_acute, dead_caron ]};
+
+ key <AD03>{[ e, E, e, EuroSign ]};
+ key <AD11>{[ bracketleft, braceleft, uacute, Uacute ]};
+
+ key <AC10>{[ semicolon, colon, uring, Uring ]};
+ key <AC11>{[ apostrophe, quotedbl, section, quotedbl ]};
+ key <BKSL>{[ backslash, bar, dead_diaeresis, apostrophe ]};
+
+ include "level3(ralt_switch)"
+};
+
+xkb_symbols "prog_typo" {
+ // cz-prog-typo 1.0 2019-06-17 by Viktor Grešák <vgresak@gmail.com> and Tomáš Hudec <Tommy.Hudec@gmail.com>
+ //
+ // Programmer + Typographic keyboard. Based on the US layout with accented Czech letters and dead keys.
+ // Using AltGr and a key from the 1st row generates original level 2 US key as level 3 except TLDE and AE12.
+ // Using AltGr+Shift on accented letters generates its uppercase variant.
+ // Using AltGr or AltGr+Shift on letters which have accent in Czech but are not on the 1st row directly accessible generate accented letters,
+ // i.e. [d, D], [t, T], [n, N], [o, O] generate with AltGr and AltGr+Shift: [dcaron, Dcaron], [tcaron, Tcaron], [ncaron, Ncaron], [oacute, Oacute].
+ // Other Czech letters besides alphanumeric keys (like uacute, uring) are generated using AltGr.
+ //
+ // Contains typographic symbols in third and fourth level.
+
+ name[Group1]="Czech (programming, typographic)";
+
+ include "cz(prog)"
+ include "cz(typo)"
+};