summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules/base.xml12
-rw-r--r--symbols/cz87
2 files changed, 99 insertions, 0 deletions
diff --git a/rules/base.xml b/rules/base.xml
index 83dfa52..1fab452 100644
--- a/rules/base.xml
+++ b/rules/base.xml
@@ -3251,6 +3251,18 @@
</languageList>
</configItem>
</variant>
+ <variant>
+ <configItem>
+ <name>winkeys</name>
+ <description>Czech (QWERTZ, Windows flavour)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>winkeys-qwerty</name>
+ <description>Czech (QWERTY, Windows flavour)</description>
+ </configItem>
+ </variant>
</variantList>
</layout>
<layout>
diff --git a/symbols/cz b/symbols/cz
index 412a0f5..e84bf31 100644
--- a/symbols/cz
+++ b/symbols/cz
@@ -331,6 +331,93 @@ xkb_symbols "rus" {
include "level3(ralt_switch)"
};
+partial alphanumeric_keys
+xkb_symbols "winkeys" {
+
+ // This layout conforms to the Windows defintion that is slightly different
+ // to standard ČSN 36 9050, but is printed on every physical keyboard on
+ // the market. This layout is just conventient for all the people who must
+ // work on Windows PC at work, and work on Linux at home.
+ //
+ // 2023 by Milos Kozák <milos.kozak@lejmr.com>
+
+ include "latin"
+ name[Group1]= "Czech (QWERTZ, Windows flavour)";
+
+ key <TLDE> {[ semicolon, dead_abovering, grave, asciitilde ] };
+ key <AE01> {[ plus, 1, exclam, dead_tilde ] };
+ key <AE02> {[ ecaron, 2, at, dead_caron ] };
+ key <AE03> {[ scaron, 3, numbersign, dead_circumflex ] };
+ key <AE04> {[ ccaron, 4, dollar, dead_breve ] };
+ key <AE05> {[ rcaron, 5, percent, dead_abovering]};
+ key <AE06> {[ zcaron, 6, asciicircum, dead_ogonek ] };
+ key <AE07> {[ yacute, 7, ampersand, dead_grave ] };
+ key <AE08> {[ aacute, 8, asterisk, dead_abovedot] };
+ key <AE09> {[ iacute, 9, braceleft, dead_acute ] };
+ key <AE10> {[ eacute, 0, braceright, dead_doubleacute ] };
+ key <AE11> {[ equal, percent, minus, underscore]};
+ key <AE12> {[dead_acute, dead_caron, equal, plus ] };
+
+ key <AD01> {[ q, Q, backslash, NoSymbol ] };
+ key <AD02> {[ w, W, bar, NoSymbol ] };
+ key <AD03> {[ e, E, EuroSign, NoSymbol ] };
+ key <AD04> {[ r, R, NoSymbol, NoSymbol ] };
+ key <AD05> {[ t, T, NoSymbol, NoSymbol ] };
+ key <AD06> {[ z, Z, 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, braceleft ] };
+ key <AD12> {[parenright, parenleft, bracketright, braceright ] };
+
+ key <AC01> {[ a, A, asciitilde, NoSymbol ] };
+ key <AC02> {[ s, S, dstroke, NoSymbol ] };
+ key <AC03> {[ d, D, Dstroke, NoSymbol ] };
+ key <AC04> {[ f, F, bracketleft, NoSymbol ] };
+ key <AC05> {[ g, G, bracketright, NoSymbol ] };
+ key <AC06> {[ h, H, grave, NoSymbol ] };
+ key <AC07> {[ j, J, apostrophe, NoSymbol ] };
+ key <AC08> {[ k, K, lstroke, NoSymbol ] };
+ key <AC09> {[ l, L, Lstroke, NoSymbol ] };
+ key <AC10> {[ uring, quotedbl, semicolon, colon ] };
+ key <AC11> {[ section, exclam, apostrophe, quotedbl ] };
+ key <BKSL> {[dead_diaeresis, apostrophe, backslash, bar ] };
+
+ key <LSGT> {[ backslash, bar, slash, NoSymbol ] };
+ key <AB01> {[ y, Y, degree, NoSymbol ] };
+ key <AB02> {[ x, X, numbersign, NoSymbol ] };
+ key <AB03> {[ c, C, ampersand, NoSymbol ] };
+ key <AB04> {[ v, V, at, NoSymbol ] };
+ key <AB05> {[ b, B, braceleft, NoSymbol ] };
+ key <AB06> {[ n, N, braceright, NoSymbol ] };
+ key <AB07> {[ m, M, asciicircum, NoSymbol ] };
+ key <AB08> {[ comma, question, less, comma ] };
+ key <AB09> {[ period, colon, greater, period ] };
+ key <AB10> {[ minus, underscore, slash, question ] };
+
+ key <SPCE> {[ space, space, space, space ] };
+
+ include "level3(ralt_switch)"
+};
+
+partial alphanumeric_keys
+xkb_symbols "winkeys-qwerty" {
+
+ // This layout conforms to the Windows defintion that is slightly different
+ // to standard ČSN 36 9050, but is printed on every physical keyboard on
+ // the market. This layout is just conventient for all the people who must
+ // work on Windows PC at work, and work on Linux at home.
+ //
+ // 2023 by Milos Kozák <milos.kozak@lejmr.com>
+
+ include "cz(winkeys)"
+ name[Group1]= "Czech (QWERTY, Windows flavour)";
+
+ key <AD06> {[ y, Y, NoSymbol, NoSymbol ] };
+ key <AB01> {[ z, Z, degree, NoSymbol ] };
+};
+
// EXTRAS:
partial alphanumeric_keys