-
Notifications
You must be signed in to change notification settings - Fork 8
/
xkeyboard-config_2.23.patch
109 lines (108 loc) · 4.63 KB
/
xkeyboard-config_2.23.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
diff -raN '--unified=5' orig-2.23/rules/base.lst patched-2.23/rules/base.lst
--- orig-2.23/rules/base.lst 2019-09-16 12:47:11.151840274 +0200
+++ patched-2.23/rules/base.lst 2019-09-16 15:02:36.427834523 +0200
@@ -414,10 +414,11 @@
alternatequotes hr: Croatian (with guillemets)
unicode hr: Croatian (with Croatian digraphs)
unicodeus hr: Croatian (US, with Croatian digraphs)
us hr: Croatian (US, with Croatian letters)
bksl cz: Czech (with <\|> key)
+ coder cz: Czech (coder)
qwerty cz: Czech (QWERTY)
qwerty_bksl cz: Czech (QWERTY, extended backslash)
ucw cz: Czech (UCW, only accented letters)
dvorak-ucw cz: Czech (US, Dvorak, UCW support)
rus cz: Russian (Czech, phonetic)
diff -raN '--unified=5' orig-2.23/rules/base.xml patched-2.23/rules/base.xml
--- orig-2.23/rules/base.xml 2019-09-16 12:47:29.043413615 +0200
+++ patched-2.23/rules/base.xml 2019-09-16 14:15:54.401602046 +0200
@@ -2752,10 +2752,16 @@
<description>Czech (with <\|> key)</description>
</configItem>
</variant>
<variant>
<configItem>
+ <name>coder</name>
+ <description>Czech (coder)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
<name>qwerty</name>
<description>Czech (QWERTY)</description>
</configItem>
</variant>
<variant>
diff -raN '--unified=5' orig-2.23/rules/evdev.lst patched-2.23/rules/evdev.lst
--- orig-2.23/rules/evdev.lst 2019-09-16 12:48:03.010606818 +0200
+++ patched-2.23/rules/evdev.lst 2019-09-16 15:05:02.760652194 +0200
@@ -414,10 +414,11 @@
alternatequotes hr: Croatian (with guillemets)
unicode hr: Croatian (with Croatian digraphs)
unicodeus hr: Croatian (US, with Croatian digraphs)
us hr: Croatian (US, with Croatian letters)
bksl cz: Czech (with <\|> key)
+ coder cz: Czech (coder)
qwerty cz: Czech (QWERTY)
qwerty_bksl cz: Czech (QWERTY, extended backslash)
ucw cz: Czech (UCW, only accented letters)
dvorak-ucw cz: Czech (US, Dvorak, UCW support)
rus cz: Russian (Czech, phonetic)
diff -raN '--unified=5' orig-2.23/rules/evdev.xml patched-2.23/rules/evdev.xml
--- orig-2.23/rules/evdev.xml 2019-09-16 12:48:18.878231306 +0200
+++ patched-2.23/rules/evdev.xml 2019-09-16 14:15:54.401602046 +0200
@@ -2752,10 +2752,16 @@
<description>Czech (with <\|> key)</description>
</configItem>
</variant>
<variant>
<configItem>
+ <name>coder</name>
+ <description>Czech (coder)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
<name>qwerty</name>
<description>Czech (QWERTY)</description>
</configItem>
</variant>
<variant>
diff -raN '--unified=5' orig-2.23/symbols/cz patched-2.23/symbols/cz
--- orig-2.23/symbols/cz 2019-09-16 12:49:04.769149939 +0200
+++ patched-2.23/symbols/cz 2019-09-16 14:15:54.405601957 +0200
@@ -251,5 +251,35 @@
partial alphanumeric_keys
xkb_symbols "sun_type6" {
include "sun_vndr/cz(sun_type6)"
};
+
+partial alphanumeric_keys alternate_group
+xkb_symbols "coder" {
+
+ // US layout with Czech chars under AltGr
+
+ 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)"
+};