-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcz-mac-qwertz-keyboard.xkb.patch
92 lines (90 loc) · 4.73 KB
/
cz-mac-qwertz-keyboard.xkb.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
--- symbols/cz 2023-03-02 16:43:42.488860958 +0100
+++ symbols/cz 2023-03-16 15:47:02.382002872 +0100
@@ -109,6 +109,74 @@
};
partial alphanumeric_keys
+xkb_symbols "qwertz-mac" {
+
+ // This layout combines qwerty-mac and default layout.
+ // 2023 by Miroslav Mateju <[email protected]>
+
+ include "latin"
+ name[Group1]= "Czech (QWERTZ ala 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, backslash, NoSymbol ] };
+ key <AD02> { [ w, W, bar, Eabovedot ] };
+ key <AD03> { [ e, E, eogonek, Eogonek ] };
+ key <AD04> { [ r, R, EuroSign, registered ] };
+ key <AD05> { [ t, T, NoSymbol, trademark ] };
+ key <AD06> { [ z, Z, zabovedot, Zabovedot ] };
+ 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, Aogonek ] };
+ key <AC02> { [ s, S, ssharp, U2211 ] };
+ key <AC03> { [ d, D, partialderivative, 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> { [ y, Y, NoSymbol, NoSymbol ] };
+ 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
xkb_symbols "qwerty-mac" {
// This layout corresponds to the Apple's Czech - QWERTY.
--- rules/evdev.xml 2023-03-02 16:56:52.441205576 +0100
+++ rules/evdev.xml 2023-03-02 16:58:23.747125517 +0100
@@ -2976,6 +2976,12 @@
</variant>
<variant>
<configItem>
+ <name>qwertz-mac</name>
+ <description>Czech (QWERTZ ala Macintosh)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
<name>qwerty-mac</name>
<description>Czech (QWERTY, Macintosh)</description>
</configItem>