summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Kahle <michalkahle@gmail.com>2019-09-18 13:43:35 +0200
committerMichal Kahle <michalkahle@gmail.com>2019-09-18 14:07:49 +0200
commite4f7f8d89dc4731b7be08ba2c9527626a77dc3d5 (patch)
tree12554a75c1c3e3bce5d4f9582f5bbbb4a89c6cc5
parent3ccf21905744585e694cd7754eb12c6ba17eebce (diff)
Add Czech (coder) layout variant
-rw-r--r--rules/base.extras.xml6
-rw-r--r--symbols/cz31
2 files changed, 37 insertions, 0 deletions
diff --git a/rules/base.extras.xml b/rules/base.extras.xml
index 8283324c..e7249d56 100644
--- a/rules/base.extras.xml
+++ b/rules/base.extras.xml
@@ -798,6 +798,12 @@
<description>Czech (typographic)</description>
</configItem>
</variant>
+ <variant>
+ <configItem>
+ <name>coder</name>
+ <description>Czech (coder)</description>
+ </configItem>
+ </variant>
</variantList>
</layout>
<layout>
diff --git a/symbols/cz b/symbols/cz
index 0d9ba682..e01ffdd3 100644
--- a/symbols/cz
+++ b/symbols/cz
@@ -364,3 +364,34 @@ xkb_symbols "typo" {
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)"
+};