-
Notifications
You must be signed in to change notification settings - Fork 8
/
xkeyboard-config_2.19.patch
109 lines (108 loc) · 4.71 KB
/
xkeyboard-config_2.19.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.19/rules/base.lst patched-2.19/rules/base.lst
--- orig-2.19/rules/base.lst 2019-08-09 19:10:04.712231939 +0200
+++ patched-2.19/rules/base.lst 2019-08-09 14:15:55.473909257 +0200
@@ -402,10 +402,11 @@
alternatequotes hr: Croatian (with guillemets for quotes)
unicode hr: Croatian (with Croatian digraphs)
unicodeus hr: Croatian (US keyboard with Croatian digraphs)
us hr: Croatian (US keyboard 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 layout, accented letters only)
dvorak-ucw cz: Czech (US Dvorak with CZ UCW support)
rus cz: Russian (Czech, phonetic)
diff -raN '--unified=5' orig-2.19/rules/base.xml patched-2.19/rules/base.xml
--- orig-2.19/rules/base.xml 2019-08-09 19:10:04.712231939 +0200
+++ patched-2.19/rules/base.xml 2019-08-09 18:08:33.141079867 +0200
@@ -2676,10 +2676,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.19/rules/evdev.lst patched-2.19/rules/evdev.lst
--- orig-2.19/rules/evdev.lst 2019-08-09 19:10:04.712231939 +0200
+++ patched-2.19/rules/evdev.lst 2019-08-09 14:15:55.473909257 +0200
@@ -402,10 +402,11 @@
alternatequotes hr: Croatian (with guillemets for quotes)
unicode hr: Croatian (with Croatian digraphs)
unicodeus hr: Croatian (US keyboard with Croatian digraphs)
us hr: Croatian (US keyboard 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 layout, accented letters only)
dvorak-ucw cz: Czech (US Dvorak with CZ UCW support)
rus cz: Russian (Czech, phonetic)
diff -raN '--unified=5' orig-2.19/rules/evdev.xml patched-2.19/rules/evdev.xml
--- orig-2.19/rules/evdev.xml 2019-08-09 19:10:04.712231939 +0200
+++ patched-2.19/rules/evdev.xml 2019-08-09 18:08:33.141079867 +0200
@@ -2676,10 +2676,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.19/symbols/cz patched-2.19/symbols/cz
--- orig-2.19/symbols/cz 2019-08-09 19:10:04.712231939 +0200
+++ patched-2.19/symbols/cz 2019-08-09 16:47:06.266766048 +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)"
+};