-
Notifications
You must be signed in to change notification settings - Fork 0
/
cz
313 lines (257 loc) · 14.7 KB
/
cz
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
default partial alphanumeric_keys
xkb_symbols "basic" {
// This layout conforms to a new Czech compromise standard
// designed to satisfy most Unix, Windows and Mac users.
// 2001 by Kamil Toman <[email protected]>
include "latin"
name[Group1]= "Czech";
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, NoSymbol, dead_diaeresis]};
key <AE12> { [dead_acute, dead_caron, dead_macron, dead_cedilla ] };
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, division ] };
key <AD12> { [parenright, parenleft, bracketright, multiply ] };
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, dollar, NoSymbol ] };
key <AC11> { [ section, exclam, apostrophe, ssharp ] };
key <AC12> { [ EuroSign, dead_diaeresis, NoSymbol, NoSymbol ] };
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, NoSymbol ] };
key <AB09> { [ period, colon, greater, NoSymbol ] };
key <AB10> { [ minus, underscore, asterisk, NoSymbol ] };
key <SPCE> { [ space, space, space, space ] };
include "level3(ralt_switch)"
};
xkb_symbols "bksl" {
// Use <BKSL> instead of <LSGT> (useful for keyboards without <LSGT> key).
include "cz(basic)"
name[Group1]= "Czech (with <\|> key)";
key <BKSL> { [ backslash, bar, slash, NoSymbol ] };
};
partial alphanumeric_keys
xkb_symbols "qwerty" {
// This layout represents the actual Czech keyboards;
// it complies with the symbols printed on the keys.
// 2011 by Lukáš Mojžíš <[email protected]>
include "cz(basic)"
name[Group1]= "Czech (qwerty)";
key <AB01> { [ z, Z, degree, NoSymbol ] };
key <AC10> { [ uring, quotedbl, semicolon, colon ] };
key <AC11> { [ section, exclam, apostrophe, ssharp ] };
key <AD06> { [ y, Y, NoSymbol, NoSymbol ] };
key <AD11> { [ uacute, slash, bracketleft, braceleft ] };
key <AD12> { [parenright, parenleft, bracketright, braceright ] };
key <AE09> { [ iacute, 9, parenleft, dead_acute ] };
key <AE10> { [ eacute, 0, parenright, dead_doubleacute ] };
};
xkb_symbols "qwerty_bksl" {
// Use <BKSL> instead of <LSGT> (useful for keyboards without <LSGT> key).
include "cz(qwerty)"
name[Group1]= "Czech (qwerty, extended Backslash)";
key <BKSL> { [ backslash, bar, slash, NoSymbol ] };
};
partial alphanumeric_keys alternate_group
xkb_symbols "ucw" {
// This layout is usually used as the second group,
// it contains accented characters only, no 'latin' set.
// 2008 by Milan Vancura <[email protected]>
name[Group1]= "Czech (UCW layout, accented letters only)";
key <AB01> { [zcaron, Zcaron ] };
key <AB02> { [ssharp ] };
key <AB03> { [ccaron, Ccaron ] };
key <AB04> { [ccedilla, Ccedilla ] };
key <AB05> { [ntilde, Ntilde ] };
key <AB06> { [ncaron, Ncaron ] };
key <AB07> { [lacute, Lacute ] };
key <AC01> { [aacute, Aacute ] };
key <AC02> { [scaron, Scaron ] };
key <AC03> { [dcaron, Dcaron ] };
key <AC04> { [ediaeresis, Ediaeresis ] };
key <AC05> { [racute, Racute ] };
key <AC06> { [uacute, Uacute ] };
key <AC07> { [udiaeresis, Udiaeresis ] };
key <AC08> { [ocircumflex, Ocircumflex ] };
key <AC09> { [lcaron, Lcaron ] };
key <AD01> { [adiaeresis, Adiaeresis ] };
key <AD02> { [ecaron, Ecaron ] };
key <AD03> { [eacute, Eacute ] };
key <AD04> { [rcaron, Rcaron ] };
key <AD05> { [tcaron, Tcaron ] };
key <AD06> { [yacute, Yacute ] };
key <AD07> { [uring, Uring ] };
key <AD08> { [iacute, Iacute ] };
key <AD09> { [oacute, Oacute ] };
key <AD10> { [odiaeresis, Odiaeresis ] };
// =========================================================
// ZACATEK MEHO ROZSIRENI UCW KLAVESNICE
// Vsechny popisky vzhledem k anglicke klavesnici!
// mapovani: /usr/include/xkbcommon/xkbcommon-keysyms.h
// ; => dvojite uvozovky dole ceske, : => jednoduche uvozovky dole
key <AC10> { [ doublelowquotemark, singlelowquotemark ] };
// ' => dvojite uvozovky nahore ceske, " => jednoduche uvozovky nahore
key <AC11> { [ leftdoublequotemark, leftsinglequotemark ] };
// to uplne vpravo pred enterem v prostredni rade => zaskrtnuto, nesplneno
key <AC12> { [ U2713, U2717 ] }; // CHECK MARK, BALLOT X
// space => nedelitelna mezera, shift+space => kratka mezera
key <SPCE> { [ nobreakspace, thinspace ] };
// . => trojtecka (vypustka)
key <AB09> { [ ellipsis ] };
// / => puntik, ? => prazdny puntik
key <AB10> { [ U2022, U25E6 ] }; // BULLET, WHITE BULLET
// ` => stupen, skoro rovna se
key <TLDE> { [ U02DA, U2248 ] }; // RING ABOVE, ALMOST EQUAL TO
// 1 => znak odstavce, shift+1 => trademark
key <AE01> { [ section, trademark ] };
// 2 => registrovana znacka, shift+2 => copyright
key <AE02> { [ registered, copyright ] };
// 3 => PI, Tau
key <AE03> { [ Greek_pi, Greek_tau ] };
// 4 => euro, section sign
key <AE04> { [ EuroSign, U00A7 ] };
// 5 => lambda, italic lambda
key <AE05> { [ U03BB, U0001D706 ] }; // GREEK SMALL LETTER LAMDA, MATHEMATICAL ITALIC SMALL LAMDA
// 6 => negace
key <AE06> { [ U00AC, U2191 ] }; // NOT SIGN
// 7 => white heart, black heart, heavy black heart
key <AE07> { [ U2661, U2665, U2764 ] };
// 8 => znak nekonecno
key <AE08> { [ infinity ] };
// 9 => smajl :-), :-P
key <AE09> { [ U1F603, U1F60B ] };
// 0 => smajl :-(, :-/
key <AE10> { [ U1F623, U1F615 ] };
// - => kratka pomlcka (ceska "pulctvercikova"), _ => dlouha
key <AE11> { [ endash, emdash ] };
// = => nerovna se, + => plus minus
key <AE12> { [ notequal, plusminus ] };
// ] => bocni uvozovky dvojite prave, } => jednoduche prave
key <AD11> { [ guillemotright, U203A ] }; //anglequoright
// [ => bocni uvozovky dvojite leve, { => jednoduche leve
key <AD12> { [ guillemotleft, U2039 ] }; //anglequoleft
// Sipky se chovaji jako PgUp/PgDown a Home/End.
key <UP> { [ Prior ] };
key <DOWN> { [ Next ] };
key <LEFT> { [ Home ] };
key <RGHT> { [ End ] };
// KONEC MEHO ROZSIRENI
// =========================================================
};
partial alphanumeric_keys
xkb_symbols "dvorak-ucw" {
// US Dvorak layout extended with UCW,
// AltGr produces accented characters.
include "us(dvorak)"
name[Group1]= "Czech (US Dvorak with CZ UCW support)";
key <AB03> { [ j, J, eacute, Eacute ] };
key <AB04> { [ k, K, uacute, Uacute ] };
key <AB10> { [ z, Z, zcaron, Zcaron ] };
key <AC01> { [ a, A, aacute, Aacute ] };
key <AC02> { [ o, O, oacute, Oacute ] };
key <AC03> { [ e, E, ecaron, Ecaron ] };
key <AC04> { [ u, U, uring, Uring ] };
key <AC05> { [ i, I, iacute, Iacute ] };
key <AC06> { [ d, D, dcaron, Dcaron ] };
key <AC08> { [ t, T, tcaron, Tcaron ] };
key <AC09> { [ n, N, ncaron, Ncaron ] };
key <AC10> { [ s, S, scaron, Scaron ] };
key <AD05> { [ y, Y, yacute, Yacute ] };
key <AD08> { [ c, C, ccaron, Ccaron ] };
key <AD09> { [ r, R, rcaron, Rcaron ] };
include "level3(ralt_switch)"
};
// phonetic layout for Russian letters on an CZ (QWERTY) keyboard
// originaly created by Pavel Sorejs <[email protected]>
partial alphanumeric_keys
xkb_symbols "rus" {
include "cz(qwerty)"
name[Group1]= "Russian (Czech, phonetic)";
key <AE01> { [ plus, ampersand, 1 , 1 ] };
key <AE02> { [ Cyrillic_hardsign, 2, 2 , 2 ] };
key <AE03> { [ Cyrillic_sha, Cyrillic_SHA, 3 , 3 ] };
key <AE04> { [ Cyrillic_che, Cyrillic_CHE, 4 , 4 ] };
key <AE05> { [ Cyrillic_shcha, Cyrillic_SHCHA, 5 , 5 ] };
key <AE06> { [ Cyrillic_zhe, Cyrillic_ZHE, 6 , 6 ] };
key <AE07> { [ quotedbl, 4, 7 , 7 ] };
key <AE08> { [ section, 5, 8 , 8 ] };
key <AE09> { [ dollar, 6, 9 , 9 ] };
key <AE10> { [ equal, 7, 0 , 0 ] };
key <AE11> { [ percent, 8 ] };
key <AE12> { [ apostrophe, 9 ] };
key <AB08> { [ comma, question ] };
key <AB09> { [ period, exclam ] };
key <AB10> { [ minus, slash ] };
key <AC11> { [ semicolon, colon ] };
key <LSGT> { [ bar, brokenbar ] };
key <TLDE> { [ Cyrillic_io, Cyrillic_IO ] };
key <AD01> { [ numerosign, 1, q, Q ] };
key <AD02> { [ Cyrillic_yu, Cyrillic_YU, w, W ] };
key <AD03> { [ Cyrillic_ie, Cyrillic_IE, e, E ] };
key <AD04> { [ Cyrillic_er, Cyrillic_ER, r, R ] };
key <AD05> { [ Cyrillic_te, Cyrillic_TE, t, T ] };
key <AD06> { [ Cyrillic_yeru, Cyrillic_YERU, y, Y ] };
key <AD07> { [ Cyrillic_u, Cyrillic_U, u, U ] };
key <AD08> { [ Cyrillic_i, Cyrillic_I, i, I ] };
key <AD09> { [ Cyrillic_o, Cyrillic_O, o, O ] };
key <AD10> { [ Cyrillic_pe, Cyrillic_PE, p, P ] };
key <AD11> { [ Cyrillic_e, Cyrillic_E, bracketleft, division ] };
key <AD12> { [ parenright, parenleft, bracketright, multiply ] };
key <AC01> { [ Cyrillic_a, Cyrillic_A, a, A ] };
key <AC02> { [ Cyrillic_es, Cyrillic_ES, s, S ] };
key <AC03> { [ Cyrillic_de, Cyrillic_DE, d, D ] };
key <AC04> { [ Cyrillic_ef, Cyrillic_EF, f, F ] };
key <AC05> { [ Cyrillic_ghe, Cyrillic_GHE, g, G ] };
key <AC06> { [ Cyrillic_ha, Cyrillic_HA, h, H ] };
key <AC07> { [ Cyrillic_shorti, Cyrillic_SHORTI, j, J ] };
key <AC08> { [ Cyrillic_ka, Cyrillic_KA, k, K ] };
key <AC09> { [ Cyrillic_el, Cyrillic_EL, l, L ] };
key <AC10> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN, less, greater ] };
key <AB01> { [ Cyrillic_ze, Cyrillic_ZE, z, Z ] };
key <AB02> { [ Cyrillic_ya, Cyrillic_YA, x, X ] };
key <AB03> { [ Cyrillic_tse, Cyrillic_TSE, c, C ] };
key <AB04> { [ Cyrillic_ve, Cyrillic_VE, v, V ] };
key <AB05> { [ Cyrillic_be, Cyrillic_BE, b, B ] };
key <AB06> { [ Cyrillic_en, Cyrillic_EN, n, N ] };
key <AB07> { [ Cyrillic_em, Cyrillic_EM, m, M ] };
key <BKSL> { [ backslash, brokenbar ] };
include "level3(ralt_switch)"
};
// EXTRAS:
partial alphanumeric_keys
xkb_symbols "sun_type6" {
include "sun_vndr/cz(sun_type6)"
};