us revision 1.1.1.22 1 default partial alphanumeric_keys modifier_keys
2 xkb_symbols "basic" {
3
4 name[Group1]= "English (US)";
5
6 key <TLDE> { [ grave, asciitilde ] };
7 key <AE01> { [ 1, exclam ] };
8 key <AE02> { [ 2, at ] };
9 key <AE03> { [ 3, numbersign ] };
10 key <AE04> { [ 4, dollar ] };
11 key <AE05> { [ 5, percent ] };
12 key <AE06> { [ 6, asciicircum ] };
13 key <AE07> { [ 7, ampersand ] };
14 key <AE08> { [ 8, asterisk ] };
15 key <AE09> { [ 9, parenleft ] };
16 key <AE10> { [ 0, parenright ] };
17 key <AE11> { [ minus, underscore ] };
18 key <AE12> { [ equal, plus ] };
19
20 key <AD01> { [ q, Q ] };
21 key <AD02> { [ w, W ] };
22 key <AD03> { [ e, E ] };
23 key <AD04> { [ r, R ] };
24 key <AD05> { [ t, T ] };
25 key <AD06> { [ y, Y ] };
26 key <AD07> { [ u, U ] };
27 key <AD08> { [ i, I ] };
28 key <AD09> { [ o, O ] };
29 key <AD10> { [ p, P ] };
30 key <AD11> { [ bracketleft, braceleft ] };
31 key <AD12> { [ bracketright, braceright ] };
32
33 key <AC01> { [ a, A ] };
34 key <AC02> { [ s, S ] };
35 key <AC03> { [ d, D ] };
36 key <AC04> { [ f, F ] };
37 key <AC05> { [ g, G ] };
38 key <AC06> { [ h, H ] };
39 key <AC07> { [ j, J ] };
40 key <AC08> { [ k, K ] };
41 key <AC09> { [ l, L ] };
42 key <AC10> { [ semicolon, colon ] };
43 key <AC11> { [ apostrophe, quotedbl ] };
44
45 key <AB01> { [ z, Z ] };
46 key <AB02> { [ x, X ] };
47 key <AB03> { [ c, C ] };
48 key <AB04> { [ v, V ] };
49 key <AB05> { [ b, B ] };
50 key <AB06> { [ n, N ] };
51 key <AB07> { [ m, M ] };
52 key <AB08> { [ comma, less ] };
53 key <AB09> { [ period, greater ] };
54 key <AB10> { [ slash, question ] };
55
56 key <BKSL> { [ backslash, bar ] };
57 };
58
59 partial alphanumeric_keys
60 xkb_symbols "euro" {
61
62 include "us(basic)"
63 name[Group1]= "English (US, euro on 5)";
64
65 key <LSGT> { [ backslash, bar ] };
66
67 include "eurosign(5)"
68
69 include "level3(ralt_switch)"
70 };
71
72
73 partial alphanumeric_keys
74 xkb_symbols "ibm238l" {
75
76 include "us(basic)"
77 name[Group1]= "English (US, IBM Arabic 238_L)";
78
79 key <AB08> { [ comma, comma ] };
80 key <AB09> { [ period, period ] };
81 key <BKSL> { [ quoteleft, asciitilde ] };
82 key <LSGT> { [ backslash, bar ] };
83 key <TLDE> { [ leftcaret, rightcaret ] };
84 };
85
86 partial alphanumeric_keys
87 xkb_symbols "intl" {
88
89 name[Group1]= "English (US, intl., with dead keys)";
90
91 key <TLDE> { [dead_grave, dead_tilde, grave, asciitilde ] };
92 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
93 key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] };
94 key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] };
95 key <AE04> { [ 4, dollar, currency, sterling ] };
96 key <AE05> { [ 5, percent, EuroSign, dead_cedilla ] };
97 key <AE06> { [ 6, dead_circumflex, onequarter, asciicircum ] };
98 key <AE07> { [ 7, ampersand, onehalf, dead_horn ] };
99 key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] };
100 key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] };
101 key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] };
102 key <AE11> { [ minus, underscore, yen, dead_belowdot ] };
103 key <AE12> { [ equal, plus, multiply, division ] };
104
105 key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] };
106 key <AD02> { [ w, W, aring, Aring ] };
107 key <AD03> { [ e, E, eacute, Eacute ] };
108 key <AD04> { [ r, R, registered, registered ] };
109 key <AD05> { [ t, T, thorn, THORN ] };
110 key <AD06> { [ y, Y, udiaeresis, Udiaeresis ] };
111 key <AD07> { [ u, U, uacute, Uacute ] };
112 key <AD08> { [ i, I, iacute, Iacute ] };
113 key <AD09> { [ o, O, oacute, Oacute ] };
114 key <AD10> { [ p, P, odiaeresis, Odiaeresis ] };
115 key <AD11> { [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ] };
116 key <AD12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] };
117
118 key <AC01> { [ a, A, aacute, Aacute ] };
119 key <AC02> { [ s, S, ssharp, section ] };
120 key <AC03> { [ d, D, eth, ETH ] };
121 key <AC04> { [ f, F, f, F ] };
122 key <AC05> { [ g, G, g, G ] };
123 key <AC06> { [ h, H, h, H ] };
124 key <AC07> { [ j, J, j, J ] };
125 key <AC08> { [ k, K, oe, OE ] };
126 key <AC09> { [ l, L, oslash, Ooblique ] };
127 key <AC10> { [ semicolon, colon, paragraph, degree ] };
128 key <AC11> { [dead_acute, dead_diaeresis, apostrophe, quotedbl ] };
129
130 key <AB01> { [ z, Z, ae, AE ] };
131 key <AB02> { [ x, X, x, X ] };
132 key <AB03> { [ c, C, copyright, cent ] };
133 key <AB04> { [ v, V, v, V ] };
134 key <AB05> { [ b, B, b, B ] };
135 key <AB06> { [ n, N, ntilde, Ntilde ] };
136 key <AB07> { [ m, M, mu, mu ] };
137 key <AB08> { [ comma, less, ccedilla, Ccedilla ] };
138 key <AB09> { [ period, greater, dead_abovedot, dead_caron ] };
139 key <AB10> { [ slash, question, questiondown, dead_hook ] };
140 key <BKSL> { [ backslash, bar, notsign, brokenbar ] };
141
142 key <LSGT> { [ backslash, bar, backslash, bar ] };
143
144 include "level3(ralt_switch)"
145 };
146
147 // Based on symbols/us_intl keyboard map:
148 // Dead-keys definition for a very simple US/ASCII layout.
149 // by Conectiva (http://www.conectiva.com.br)
150 // modified by Ricardo Y. Igarashi (iga (a] that.com.br)
151
152 // Added the following deadkeys, to make it truly international:
153 //
154 // dead_macron: on AltGr-minus
155 // dead_breve: on AltGr-parenleft
156 // dead_abovedot: on AltGr-period
157 // dead_abovering: on AltGr-0
158 // dead_doubleacute: on AltGr-equal (as quotedbl is already used)
159 // dead_caron: on AltGr-less (AltGr-shift-comma)
160 // dead_cedilla: on AltGr-comma
161 // dead_ogonek: on AltGr-semicolon
162 // dead_belowdot: on AltGr-underscore (AltGr-shift-minus)
163 // dead_hook: on AltGr-question
164 // dead_horn: on AltGr-plus (AltGr-shift-equal)
165 // dead_diaeresis: on AltGr-colon (Alt-shift-semicolon)
166 //
167 // those were already there:
168 // dead_grave
169 // dead_acute
170 // dead_circumflex
171 // dead_tilde
172 // dead_diaeresis
173
174 partial alphanumeric_keys
175 xkb_symbols "alt-intl" {
176
177 include "us"
178 name[Group1]= "English (US, alt. intl.)";
179
180 key <TLDE> { [ dead_grave, dead_tilde, grave, asciitilde ] };
181 key <AE05> { [ 5, percent, EuroSign ] };
182 key <AE06> { [ 6, dead_circumflex, asciicircum, asciicircum ] };
183 key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] };
184 key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] };
185 key <AE11> { [ minus, underscore, dead_macron, dead_belowdot ] };
186 key <AE12> { [ equal, plus, dead_doubleacute, dead_horn ] };
187
188 key <AD03> { [ e, E, EuroSign, cent ] };
189
190 key <AC10> { [ semicolon, colon, dead_ogonek, dead_diaeresis ] };
191 key <AC11> { [ dead_acute, dead_diaeresis, apostrophe, quotedbl ] };
192
193 key <AB08> { [ comma, less, dead_cedilla, dead_caron ] };
194 key <AB09> { [ period, greater, dead_abovedot, dead_circumflex ] };
195 key <AB10> { [ slash, question, dead_hook, dead_hook ] };
196
197 key <LSGT> { [ backslash, bar, backslash, bar ] };
198
199 include "level3(ralt_switch)"
200 };
201
202 partial alphanumeric_keys
203 xkb_symbols "dvorak" {
204
205 name[Group1]= "English (Dvorak)";
206
207 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
208
209 key <AE01> { [ 1, exclam ] };
210 key <AE02> { [ 2, at ] };
211 key <AE03> { [ 3, numbersign ] };
212 key <AE04> { [ 4, dollar ] };
213 key <AE05> { [ 5, percent ] };
214 key <AE06> { [ 6, asciicircum, dead_circumflex, dead_circumflex ] };
215 key <AE07> { [ 7, ampersand ] };
216 key <AE08> { [ 8, asterisk ] };
217 key <AE09> { [ 9, parenleft, dead_grave, dead_breve ] };
218 key <AE10> { [ 0, parenright ] };
219 key <AE11> { [ bracketleft, braceleft ] };
220 key <AE12> { [ bracketright, braceright, dead_tilde] };
221
222 key <AD01> { [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] };
223 key <AD02> { [ comma, less, dead_cedilla, dead_caron ] };
224 key <AD03> { [ period, greater, dead_abovedot, periodcentered ] };
225 key <AD04> { [ p, P ] };
226 key <AD05> { [ y, Y ] };
227 key <AD06> { [ f, F ] };
228 key <AD07> { [ g, G ] };
229 key <AD08> { [ c, C ] };
230 key <AD09> { [ r, R ] };
231 key <AD10> { [ l, L ] };
232 key <AD11> { [ slash, question ] };
233 key <AD12> { [ equal, plus ] };
234
235 key <AC01> { [ a, A ] };
236 key <AC02> { [ o, O ] };
237 key <AC03> { [ e, E ] };
238 key <AC04> { [ u, U ] };
239 key <AC05> { [ i, I ] };
240 key <AC06> { [ d, D ] };
241 key <AC07> { [ h, H ] };
242 key <AC08> { [ t, T ] };
243 key <AC09> { [ n, N ] };
244 key <AC10> { [ s, S ] };
245 key <AC11> { [ minus, underscore ] };
246
247 key <AB01> { [ semicolon, colon, dead_ogonek, dead_doubleacute ] };
248 key <AB02> { [ q, Q ] };
249 key <AB03> { [ j, J ] };
250 key <AB04> { [ k, K ] };
251 key <AB05> { [ x, X ] };
252 key <AB06> { [ b, B ] };
253 key <AB07> { [ m, M ] };
254 key <AB08> { [ w, W ] };
255 key <AB09> { [ v, V ] };
256 key <AB10> { [ z, Z ] };
257
258 key <BKSL> { [ backslash, bar ] };
259 };
260
261 // Dvorak intl., with dead keys
262 // Olivier Mehani (shtrom-xorg (a] ssji.net)
263 // Reproduce the per-key mapping of us(intl) for the dvorak layout
264 // aka "I just swapped my keys over"
265 partial alphanumeric_keys
266 xkb_symbols "dvorak-intl" {
267
268 include "us(dvorak)"
269 name[Group1]= "English (Dvorak, intl., with dead keys)";
270
271 key <TLDE> { [dead_grave, dead_tilde, grave, asciitilde ] };
272
273 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
274 key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] };
275 key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] };
276 key <AE04> { [ 4, dollar, currency, sterling ] };
277 key <AE05> { [ 5, percent, EuroSign, dead_cedilla ] };
278 key <AE06> { [ 6, dead_circumflex, onequarter, asciicircum ] };
279 key <AE07> { [ 7, ampersand, onehalf, dead_horn ] };
280 key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] };
281 key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] };
282 key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] };
283 key <AE11> { [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ] };
284 key <AE12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] };
285
286 key <AD01> { [dead_acute, dead_diaeresis, apostrophe, quotedbl ] };
287 key <AD02> { [ comma, less, ccedilla, Ccedilla ] };
288 key <AD03> { [ period, greater, dead_abovedot, dead_caron ] };
289 key <AD04> { [ p, P, odiaeresis, Odiaeresis ] };
290 key <AD05> { [ y, Y, udiaeresis, Udiaeresis ] };
291 // key <AD06> { [ f, F ] };
292 // key <AD07> { [ g, G ] };
293 key <AD08> { [ c, C, copyright, cent ] };
294 key <AD09> { [ r, R, registered, registered ] };
295 key <AD10> { [ l, L, oslash, Ooblique ] };
296 key <AD11> { [ slash, question, questiondown, dead_hook ] };
297 // key <AD12> { [ equal, plus, multiply, division ] };
298
299 key <AC01> { [ a, A, aacute, Aacute ] };
300 key <AC02> { [ o, O, oacute, Oacute ] };
301 key <AC03> { [ e, E, eacute, Eacute ] };
302 key <AC04> { [ u, U, uacute, Uacute ] };
303 key <AC05> { [ i, I, iacute, Iacute ] };
304 key <AC06> { [ d, D, eth, ETH ] };
305 // key <AC07> { [ h, H ] };
306 key <AC08> { [ t, T, thorn, THORN ] };
307 key <AC09> { [ n, N, ntilde, Ntilde ] };
308 key <AC10> { [ s, S, ssharp, section ] };
309 // key <AC11> { [ minus, underscore, yen, dead_belowdot ] };
310
311 key <AB01> { [ semicolon, colon, paragraph, degree ] };
312 key <AB02> { [ q, Q, adiaeresis, Adiaeresis ] };
313 // key <AB03> { [ j, J ] };
314 key <AB04> { [ k, K, oe, OE ] };
315 // key <AB05> { [ x, X ] };
316 // key <AB06> { [ b, B ] };
317 key <AB07> { [ m, M, mu, mu ] };
318 key <AB08> { [ w, W, aring, Aring ] };
319 // key <AB09> { [ v, V ] };
320 key <AB10> { [ z, Z, ae, AE ] };
321
322 key <BKSL> { [ backslash, bar, notsign, brokenbar ] };
323
324 include "level3(ralt_switch)"
325 };
326
327 // Dvorak international without dead keys
328 // Stephane Magnenat (stephane at magnenat dot net, http://stephane.magnenat.net)
329 // Based on information from http://www.poupinou.org/dvorak/index.html
330 //
331 // ` 1 2 3 4 5 6 7 8 9 0 [ ] \
332 //
333 //
334 // ' , . p y f g c r l / =
335 //
336 //
337 // a o e u i d h t n s -
338 //
339 //
340 // ; q j k x b m w v z
341 //
342
343 partial alphanumeric_keys
344 xkb_symbols "dvorak-alt-intl" {
345
346 include "us(dvorak)"
347 name[Group1]= "English (Dvorak, alt. intl.)";
348
349 key <AE04> { [ 4, dollar, EuroSign ] };
350
351 key <AD02> { [ comma, less, adiaeresis, dead_caron ] };
352 key <AD03> { [ period, greater, ecircumflex, periodcentered ] };
353 key <AD04> { [ p, P, ediaeresis, dead_cedilla ] };
354 key <AD05> { [ y, Y, udiaeresis ] };
355 key <AD08> { [ c, C, ccedilla, dead_abovedot ] };
356
357 key <AC01> { [ a, A, agrave ] };
358 key <AC02> { [ o, O, ocircumflex ] };
359 key <AC03> { [ e, E, eacute ] };
360 key <AC04> { [ u, U, ucircumflex ] };
361 key <AC05> { [ i, I, icircumflex ] };
362 key <AC10> { [ s, S, ssharp, U1E9E ] };
363
364 key <AB01> { [ semicolon, colon, acircumflex ] };
365 key <AB02> { [ q, Q, odiaeresis, dead_ogonek ] };
366 key <AB03> { [ j, J, egrave, dead_doubleacute ] };
367 key <AB04> { [ k, K, ugrave ] };
368 key <AB05> { [ x, X, idiaeresis ] };
369
370 include "level3(ralt_switch)"
371 };
372
373 // Left and right handed dvorak layouts
374 // by sqweek <sqweek (a] gmail.com> 2006-01-30
375 // Based on the corresponding layouts in the console-tools package.
376 partial alphanumeric_keys
377 xkb_symbols "dvorak-l" {
378
379 include "us(dvorak)"
380 name[Group1]= "English (Dvorak, left-handed)";
381
382 key <AE01> { [ bracketleft, braceleft ] };
383 key <AE02> { [ bracketright, braceright ] };
384 key <AE03> { [ slash, question ] };
385 key <AE04> { [ p, P ] };
386 key <AE05> { [ f, F ] };
387 key <AE06> { [ m, M ] };
388 key <AE07> { [ l, L ] };
389 key <AE08> { [ j, J ] };
390 key <AE09> { [ 4, dollar ] };
391 key <AE10> { [ 3, numbersign ] };
392 key <AE11> { [ 2, at ] };
393 key <AE12> { [ 1, exclam ] };
394
395 key <AD01> { [ semicolon, colon ] };
396 key <AD02> { [ q, Q ] };
397 key <AD03> { [ b, B ] };
398 key <AD04> { [ y, Y ] };
399 key <AD05> { [ u, U ] };
400 key <AD06> { [ r, R ] };
401 key <AD07> { [ s, S ] };
402 key <AD08> { [ o, O ] };
403 key <AD09> { [ period, greater ] };
404 key <AD10> { [ 6, asciicircum ] };
405 key <AD11> { [ 5, percent ] };
406 key <AD12> { [ equal, plus ] };
407
408 key <AC01> { [ minus, underscore ] };
409 key <AC02> { [ k, K ] };
410 key <AC03> { [ c, C ] };
411 key <AC04> { [ d, D ] };
412 key <AC05> { [ t, T ] };
413 key <AC06> { [ h, H ] };
414 key <AC07> { [ e, E ] };
415 key <AC08> { [ a, A ] };
416 key <AC09> { [ z, Z ] };
417 key <AC10> { [ 8, asterisk ] };
418 key <AC11> { [ 7, ampersand ] };
419
420 key <AB01> { [ apostrophe, quotedbl ] };
421 key <AB02> { [ x, X ] };
422 key <AB03> { [ g, G ] };
423 key <AB04> { [ v, V ] };
424 key <AB05> { [ w, W ] };
425 key <AB06> { [ n, N ] };
426 key <AB07> { [ i, I ] };
427 key <AB08> { [ comma, less ] };
428 key <AB09> { [ 0, parenright ] };
429 key <AB10> { [ 9, parenleft ] };
430 };
431
432 partial alphanumeric_keys
433 xkb_symbols "dvorak-r" {
434
435 include "us(dvorak)"
436 name[Group1]= "English (Dvorak, right-handed)";
437
438 key <AE01> { [ 1, exclam ] };
439 key <AE02> { [ 2, at ] };
440 key <AE03> { [ 3, numbersign ] };
441 key <AE04> { [ 4, dollar ] };
442 key <AE05> { [ j, J ] };
443 key <AE06> { [ l, L ] };
444 key <AE07> { [ m, M ] };
445 key <AE08> { [ f, F ] };
446 key <AE09> { [ p, P ] };
447 key <AE10> { [ slash, question ] };
448 key <AE11> { [ bracketleft, braceleft ] };
449 key <AE12> { [ bracketright, braceright ] };
450
451 key <AD01> { [ 5, percent ] };
452 key <AD02> { [ 6, asciicircum ] };
453 key <AD03> { [ q, Q ] };
454 key <AD04> { [ period, greater ] };
455 key <AD05> { [ o, O ] };
456 key <AD06> { [ r, R ] };
457 key <AD07> { [ s, S ] };
458 key <AD08> { [ u, U ] };
459 key <AD09> { [ y, Y ] };
460 key <AD10> { [ b, B ] };
461 key <AD11> { [ semicolon, colon ] };
462 key <AD12> { [ equal, plus ] };
463
464 key <AC01> { [ 7, ampersand ] };
465 key <AC02> { [ 8, asterisk ] };
466 key <AC03> { [ z, Z ] };
467 key <AC04> { [ a, A ] };
468 key <AC05> { [ e, E ] };
469 key <AC06> { [ h, H ] };
470 key <AC07> { [ t, T ] };
471 key <AC08> { [ d, D ] };
472 key <AC09> { [ c, C ] };
473 key <AC10> { [ k, K ] };
474 key <AC11> { [ minus, underscore ] };
475
476 key <AB01> { [ 9, parenleft ] };
477 key <AB02> { [ 0, parenright ] };
478 key <AB03> { [ x, X ] };
479 key <AB04> { [ comma, less ] };
480 key <AB05> { [ i, I ] };
481 key <AB06> { [ n, N ] };
482 key <AB07> { [ w, W ] };
483 key <AB08> { [ v, V ] };
484 key <AB09> { [ g, G ] };
485 key <AB10> { [ apostrophe, quotedbl ] };
486 };
487
488 // Classic dvorak layout
489 // by Piter Punk <piterpk (a] terra.com.br> - 2006-07-06
490 // Based on dvorak layout and e-mail from Russel L. Harris rlharris (a] oplink.net
491 // on xorg list.
492 partial alphanumeric_keys
493 xkb_symbols "dvorak-classic" {
494
495 name[Group1]= "English (classic Dvorak)";
496
497 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
498
499 key <AE01> { [ bracketleft, braceleft ] };
500 key <AE02> { [ 7, ampersand ] };
501 key <AE03> { [ 5, percent ] };
502 key <AE04> { [ 3, numbersign ] };
503 key <AE05> { [ 1, exclam ] };
504 key <AE06> { [ 9, parenleft, dead_grave] };
505 key <AE07> { [ 0, parenright ] };
506 key <AE08> { [ 2, at ] };
507 key <AE09> { [ 4, dollar ] };
508 key <AE10> { [ 6, asciicircum, dead_circumflex, dead_circumflex ] };
509 key <AE11> { [ 8, asterisk ] };
510 key <AE12> { [ bracketright, braceright, dead_tilde] };
511
512 key <AD01> { [ slash, question ] };
513 key <AD02> { [ comma, less, dead_cedilla, dead_caron ] };
514 key <AD03> { [ period, greater, dead_abovedot, periodcentered ] };
515 key <AD04> { [ p, P ] };
516 key <AD05> { [ y, Y ] };
517 key <AD06> { [ f, F ] };
518 key <AD07> { [ g, G ] };
519 key <AD08> { [ c, C ] };
520 key <AD09> { [ r, R ] };
521 key <AD10> { [ l, L ] };
522 key <AD11> { [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] };
523 key <AD12> { [ equal, plus ] };
524
525 key <AC01> { [ a, A ] };
526 key <AC02> { [ o, O ] };
527 key <AC03> { [ e, E ] };
528 key <AC04> { [ u, U ] };
529 key <AC05> { [ i, I ] };
530 key <AC06> { [ d, D ] };
531 key <AC07> { [ h, H ] };
532 key <AC08> { [ t, T ] };
533 key <AC09> { [ n, N ] };
534 key <AC10> { [ s, S ] };
535 key <AC11> { [ minus, underscore ] };
536
537 key <AB01> { [ semicolon, colon, dead_ogonek, dead_doubleacute ] };
538 key <AB02> { [ q, Q ] };
539 key <AB03> { [ j, J ] };
540 key <AB04> { [ k, K ] };
541 key <AB05> { [ x, X ] };
542 key <AB06> { [ b, B ] };
543 key <AB07> { [ m, M ] };
544 key <AB08> { [ w, W ] };
545 key <AB09> { [ v, V ] };
546 key <AB10> { [ z, Z ] };
547 key <BKSL> { [ backslash, bar ] };
548 };
549
550 // programmer Dvorak, by Roland Kaufmann <rlndkfmn at gmail dot com>
551 // License: BSD, available at <http://www.kaufmann.no/roland/dvorak/license.html>
552 // Main features: Numbers are in shift position (like French), symbols have been
553 // placed in locations that give good hand-alternation and finger rolling with
554 // symbols that usually follows, accented characters are possible for I18N.
555 // Patch suggestions should be sent upstream.
556 partial alphanumeric_keys
557 xkb_symbols "dvp" {
558
559 include "us(dvorak)"
560 name[Group1] = "English (programmer Dvorak)";
561
562 // Unmodified Shift AltGr Shift+AltGr
563 // symbols row, left side
564 key <TLDE> { [ dollar, asciitilde, dead_tilde ] };
565 key <AE01> { [ ampersand, percent ] };
566 key <AE02> { [ bracketleft, 7, currency ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
567 key <AE03> { [ braceleft, 5, cent ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
568 key <AE04> { [ braceright, 3, yen ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
569 key <AE05> { [ parenleft, 1, EuroSign ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
570 key <AE06> { [ equal, 9, sterling ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
571
572 // symbols row, right side
573 key <AE07> { [ asterisk, 0 ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
574 key <AE08> { [ parenright, 2, onehalf ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
575 key <AE09> { [ plus, 4 ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
576 key <AE10> { [ bracketright, 6 ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
577 key <AE11> { [ exclam, 8, exclamdown, U2E18 ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; // reversed interrobang
578 key <AE12> { [ numbersign, grave, dead_grave ] };
579 key <BKSP> { [ BackSpace, BackSpace ] };
580
581 // upper row, left side
582 key <AD01> { [ semicolon, colon, dead_diaeresis ] };
583 key <AD02> { [ comma, less, guillemotleft, U201C ] };
584 key <AD03> { [ period, greater, guillemotright, U201D ] };
585 key <AD04> { [ p, P, paragraph, section ] };
586 key <AD05> { [ y, Y, udiaeresis, Udiaeresis ] };
587
588 // upper row, right side
589 key <AD08> { [ c, C, ccedilla, Ccedilla ] };
590 key <AD09> { [ r, R, registered, trademark ] };
591 key <AD11> { [ slash, question, questiondown, U203D ] }; // interrobang
592 key <AD12> { [ at, asciicircum, dead_circumflex, dead_caron ] };
593
594 // home row, left side
595 key <AC01> { [ a, A, aring, Aring ] };
596 key <AC02> { [ o, O, oslash, Ooblique ] };
597 key <AC03> { [ e, E, ae, AE ] };
598 key <AC04> { [ u, U, eacute, Eacute ] };
599
600 // home row, right side
601 key <AC06> { [ d, D, eth, ETH ] };
602 key <AC07> { [ h, H, dead_acute ] };
603 key <AC08> { [ t, T, thorn, THORN ] };
604 key <AC09> { [ n, N, ntilde, Ntilde ] };
605 key <AC10> { [ s, S, ssharp, U1E9E ] };
606 key <AC11> { [ minus, underscore, hyphen, endash ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
607 key <BKSL> { [ backslash, bar ] };
608
609 // lower row, left side
610 key <AB01> { [ apostrophe, quotedbl, dead_acute ] };
611
612 // do NOT hardcode this switch; use lv3:ralt_switch option instead!
613 //include "level3(ralt_switch)"
614 };
615
616 // Macintosh dvorak keyboard layout
617 // Based on the Dvorak keyboard layout found in MacOS
618 partial alphanumeric_keys
619 xkb_symbols "dvorak-mac" {
620 name[Group1]= "English (Dvorak, Macintosh)";
621
622 key <TLDE> { [ grave, asciitilde, dead_grave, grave ] };
623
624 key <AE01> { [ 1, exclam, exclamdown, U2044 ] };
625 key <AE02> { [ 2, at, trademark, EuroSign ] };
626 key <AE03> { [ 3, numbersign, sterling, U2039 ] };
627 key <AE04> { [ 4, dollar, cent, U203A ] };
628 key <AE05> { [ 5, percent, infinity, UFB01 ] };
629 key <AE06> { [ 6, asciicircum, section, UFB02 ] };
630 key <AE07> { [ 7, ampersand, paragraph, doubledagger ] };
631 key <AE08> { [ 8, asterisk, enfilledcircbullet, degree ] };
632 key <AE09> { [ 9, parenleft, ordfeminine, periodcentered ] };
633 key <AE10> { [ 0, parenright, masculine, singlelowquotemark ] };
634 key <AE11> { [ bracketleft, braceleft, leftdoublequotemark, rightdoublequotemark ] };
635 key <AE12> { [ bracketright, braceright, leftsinglequotemark, rightsinglequotemark ] };
636
637 key <AD01> { [ apostrophe, quotedbl, ae, AE ] };
638 key <AD02> { [ comma, less, lessthanequal, macron ] };
639 key <AD03> { [ period, greater, greaterthanequal, breve ] };
640 key <AD04> { [ p, P, Greek_pi, U220F ] };
641 key <AD05> { [ y, Y, yen, Aacute ] };
642 key <AD06> { [ f, F, function, Idiaeresis ] };
643 key <AD07> { [ g, G, copyright, doubleacute ] };
644 key <AD08> { [ c, C, ccedilla, Ccedilla ] };
645 key <AD09> { [ r, R, registered, permille ] };
646 key <AD10> { [ l, L, notsign, Ograve ] };
647 key <AD11> { [ slash, question, division, questiondown ] };
648 key <AD12> { [ equal, plus, notequal, plusminus ] };
649
650 key <AC01> { [ a, A, aring, Aring ] };
651 key <AC02> { [ o, O, oslash, Ooblique ] };
652 key <AC03> { [ e, E, dead_acute, acute ] };
653 key <AC04> { [ u, U, dead_diaeresis, diaeresis ] };
654 key <AC05> { [ i, I, dead_circumflex, asciicircum ] };
655 key <AC06> { [ d, D, partialderivative, Icircumflex ] };
656 key <AC07> { [ h, H, abovedot, Oacute ] };
657 key <AC08> { [ t, T, dagger, caron ] };
658 key <AC09> { [ n, N, dead_tilde, asciitilde ] };
659 key <AC10> { [ s, S, ssharp, Iacute ] };
660 key <AC11> { [ minus, underscore, endash, emdash ] };
661
662 key <LSGT> { [ section, plusminus ] };
663 key <AB01> { [ semicolon, colon, ellipsis, Uacute ] };
664 key <AB02> { [ q, Q, oe, OE ] };
665 key <AB03> { [ j, J, U2206, Ocircumflex ] };
666 key <AB04> { [ k, K, dead_abovering, UF8FF ] };
667 key <AB05> { [ x, X, U2248, ogonek ] };
668 key <AB06> { [ b, B, integral, idotless ] };
669 key <AB07> { [ m, M, mu, Acircumflex ] };
670 key <AB08> { [ w, W, U2211, doublelowquotemark ] };
671 key <AB09> { [ v, V, squareroot, U25CA ] };
672 key <AB10> { [ z, Z, Greek_OMEGA, cedilla ] };
673
674 key <BKSL> { [ backslash, bar, guillemotleft, guillemotright ] };
675
676 include "level3(ralt_switch)"
677 };
678
679 // phonetic layout for Russian letters on an US keyboard
680 // by Ivan Popov <pin (a] konvalo.org> 2005-07-17
681
682 // level3 modifier is a shortcut to the "us" meaning of the keys where
683 // we place cyrillic letters, handy for accessing the corresponding
684 // punctuation marks.
685 // It is important to have access to punctuation marks, and the rest of
686 // alphabetical keys are added for being consequent so that the users
687 // can expect the level3 modifier to give what the key label shows.
688
689 partial alphanumeric_keys
690 xkb_symbols "rus" {
691
692 include "us(basic)"
693 name[Group1]= "Russian (US, phonetic)";
694
695 key.type[group1]="FOUR_LEVEL_ALPHABETIC";
696
697 key <LatA> { [ Cyrillic_a, Cyrillic_A ] };
698 key <LatB> { [ Cyrillic_be, Cyrillic_BE ] };
699 key <LatW> { [ Cyrillic_ve, Cyrillic_VE ] };
700 key <LatG> { [ Cyrillic_ghe, Cyrillic_GHE ] };
701 key <LatD> { [ Cyrillic_de, Cyrillic_DE ] };
702 key <LatE> { [ Cyrillic_ie, Cyrillic_IE ] };
703 key <TLDE> { [ Cyrillic_io, Cyrillic_IO, grave, asciitilde ] };
704 key <LatV> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
705 key <LatZ> { [ Cyrillic_ze, Cyrillic_ZE ] };
706 key <LatI> { [ Cyrillic_i, Cyrillic_I ] };
707 key <LatJ> { [ Cyrillic_shorti, Cyrillic_SHORTI ] };
708 key <LatK> { [ Cyrillic_ka, Cyrillic_KA ] };
709 key <LatL> { [ Cyrillic_el, Cyrillic_EL ] };
710 key <LatM> { [ Cyrillic_em, Cyrillic_EM ] };
711 key <LatN> { [ Cyrillic_en, Cyrillic_EN ] };
712 key <LatO> { [ Cyrillic_o, Cyrillic_O ] };
713 key <LatP> { [ Cyrillic_pe, Cyrillic_PE ] };
714 key <LatR> { [ Cyrillic_er, Cyrillic_ER ] };
715 key <LatS> { [ Cyrillic_es, Cyrillic_ES ] };
716 key <LatT> { [ Cyrillic_te, Cyrillic_TE ] };
717 key <LatU> { [ Cyrillic_u, Cyrillic_U ] };
718 key <LatF> { [ Cyrillic_ef, Cyrillic_EF ] };
719 key <LatH> { [ Cyrillic_ha, Cyrillic_HA ] };
720 key <LatC> { [ Cyrillic_tse, Cyrillic_TSE ] };
721 key <AC10> { [ Cyrillic_che, Cyrillic_CHE, semicolon, colon ] };
722 key <AD11> { [ Cyrillic_sha, Cyrillic_SHA, bracketleft, braceleft] };
723 key <AD12> { [ Cyrillic_shcha, Cyrillic_SHCHA, bracketright, braceright ] };
724 key <AE12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN, equal, plus ] };
725 key <LatY> { [ Cyrillic_yeru, Cyrillic_YERU ] };
726 key <LatX> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
727 key <BKSL> { [ Cyrillic_e, Cyrillic_E, backslash, bar ] };
728 key <AC11> { [ Cyrillic_yu, Cyrillic_YU, apostrophe, quotedbl ] };
729 key <LatQ> { [ Cyrillic_ya, Cyrillic_YA ] };
730
731 include "level3(ralt_switch)"
732 };
733
734 partial alphanumeric_keys
735 xkb_symbols "mac" {
736
737 name[Group1]= "English (Macintosh)";
738
739 key.type[group1]="FOUR_LEVEL";
740
741 // Slightly improvised from http://homepage.mac.com/thgewecke/kblayout.jpg
742 key <LSGT> { [ section, plusminus, section, plusminus ] };
743 key <TLDE> { [ grave, asciitilde, dead_grave, dead_horn ] };
744 key <AE01> { [ 1, exclam, exclamdown, U2044 ] };
745 key <AE02> { [ 2, at, trademark, EuroSign ] };
746 key <AE03> { [ 3, numbersign, sterling, U2039 ] };
747 key <AE04> { [ 4, dollar, cent, U203A ] };
748 key <AE05> { [ 5, percent, infinity, UFB01 ] };
749 key <AE06> { [ 6,asciicircum, section, UFB02 ] };
750 key <AE07> { [ 7, ampersand, paragraph, doubledagger ] };
751 key <AE08> { [ 8, asterisk, enfilledcircbullet, degree ] };
752 key <AE09> { [ 9, parenleft, ordfeminine, periodcentered ] };
753 key <AE10> { [ 0, parenright, masculine,singlelowquotemark] };
754 key <AE11> { [ minus, underscore, endash, emdash ] };
755 key <AE12> { [ equal, plus, notequal, plusminus ] };
756
757 key <AD01> { [ q, Q, oe, OE ] };
758 key <AD02> { [ w, W, U2211,doublelowquotemark] };
759 key <AD03> { [ e, E, dead_acute, acute ] };
760 key <AD04> { [ r, R, registered, U2030 ] };
761 key <AD05> { [ t, T, dagger, dead_caron ] };
762 key <AD06> { [ y, Y, yen, onequarter ] };
763 key <AD07> { [ u, U, dead_diaeresis, diaeresis ] };
764 key <AD08> { [ i, I, dead_circumflex, U02C6 ] };
765 key <AD09> { [ o, O, oslash, Ooblique ] };
766 key <AD10> { [ p, P, Greek_pi, U220F ] };
767 key <AD11> { [ bracketleft, braceleft, leftdoublequotemark, rightdoublequotemark ] };
768 key <AD12> { [bracketright, braceright, leftsinglequotemark, rightsinglequotemark ] };
769 key <BKSL> { [ backslash, bar, guillemotleft, guillemotright ] };
770
771 key <AC01> { [ a, A, aring, Aring ] };
772 key <AC02> { [ s, S, ssharp, dead_stroke ] };
773 key <AC03> { [ d, D, partialderivative, eth ] };
774 key <AC04> { [ f, F, function, dead_hook ] };
775 key <AC05> { [ g, G, copyright, dead_doubleacute ] };
776 key <AC06> { [ h, H, dead_abovedot, dead_belowdot ] };
777 key <AC07> { [ j, J, U2206, onehalf ] };
778 key <AC08> { [ k, K,dead_abovering, UF8FF ] };
779 key <AC09> { [ l, L, notsign, THORN ] };
780 key <AC10> { [ semicolon, colon, U2026, thorn ] };
781 key <AC11> { [apostrophe, quotedbl, ae, AE ] };
782
783 key <AB01> { [ z, Z, Greek_OMEGA, dead_cedilla ] };
784 key <AB02> { [ x, X, U2248, dead_ogonek ] };
785 // unclear whether "approxeq" is 2248 or 2245
786 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
787 key <AB04> { [ v, V, squareroot, U25CA ] };
788 key <AB05> { [ b, B, integral, idotless ] };
789 key <AB06> { [ n, N, dead_tilde, U02DC ] };
790 key <AB07> { [ m, M, mu, threequarters ] };
791 key <AB08> { [ comma, less, lessthanequal, dead_macron ] };
792 key <AB09> { [ period, greater, greaterthanequal, dead_breve ] };
793 key <AB10> { [ slash, question, division, questiondown ] };
794
795 include "level3(ralt_switch)"
796 };
797
798 // Colemak symbols for xkb on X.Org Server 7.x
799 // 2006-01-01 Shai Coleman, http://colemak.com/
800
801 partial alphanumeric_keys
802 xkb_symbols "colemak" {
803
804 name[Group1]= "English (Colemak)";
805
806 key <TLDE> { [ grave, asciitilde, dead_tilde, asciitilde ] };
807 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
808 key <AE02> { [ 2, at, masculine, twosuperior ] };
809 key <AE03> { [ 3, numbersign, ordfeminine, threesuperior ] };
810 key <AE04> { [ 4, dollar, cent, sterling ] };
811 key <AE05> { [ 5, percent, EuroSign, yen ] };
812 key <AE06> { [ 6, asciicircum, hstroke, Hstroke ] };
813 key <AE07> { [ 7, ampersand, eth, ETH ] };
814 key <AE08> { [ 8, asterisk, thorn, THORN ] };
815 key <AE09> { [ 9, parenleft, leftsinglequotemark, leftdoublequotemark ] };
816 key <AE10> { [ 0, parenright, rightsinglequotemark, rightdoublequotemark ] };
817 key <AE11> { [ minus, underscore, endash, emdash ] };
818 key <AE12> { [ equal, plus, multiply, division ] };
819
820 key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] };
821 key <AD02> { [ w, W, aring, Aring ] };
822 key <AD03> { [ f, F, atilde, Atilde ] };
823 key <AD04> { [ p, P, oslash, Ooblique ] };
824 key <AD05> { [ g, G, dead_ogonek, asciitilde ] };
825 key <AD06> { [ j, J, dstroke, Dstroke ] };
826 key <AD07> { [ l, L, lstroke, Lstroke ] };
827 key <AD08> { [ u, U, uacute, Uacute ] };
828 key <AD09> { [ y, Y, udiaeresis, Udiaeresis ] };
829 key <AD10> { [ semicolon, colon, odiaeresis, Odiaeresis ] };
830 key <AD11> { [ bracketleft, braceleft, guillemotleft, 0x1002039 ] };
831 key <AD12> { [ bracketright, braceright, guillemotright, 0x100203a ] };
832 key <BKSL> { [ backslash, bar, asciitilde, asciitilde ] };
833
834 key <AC01> { [ a, A, aacute, Aacute ] };
835 key <AC02> { [ r, R, dead_grave, asciitilde ] };
836 key <AC03> { [ s, S, ssharp, 0x1001e9e ] };
837 key <AC04> { [ t, T, dead_acute, dead_doubleacute ] };
838 key <AC05> { [ d, D, dead_diaeresis, asciitilde ] };
839 key <AC06> { [ h, H, dead_caron, asciitilde ] };
840 key <AC07> { [ n, N, ntilde, Ntilde ] };
841 key <AC08> { [ e, E, eacute, Eacute ] };
842 key <AC09> { [ i, I, iacute, Iacute ] };
843 key <AC10> { [ o, O, oacute, Oacute ] };
844 key <AC11> { [ apostrophe, quotedbl, otilde, Otilde ] };
845
846 key <AB01> { [ z, Z, ae, AE ] };
847 key <AB02> { [ x, X, dead_circumflex, asciitilde ] };
848 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
849 key <AB04> { [ v, V, oe, OE ] };
850 key <AB05> { [ b, B, dead_breve, asciitilde ] };
851 key <AB06> { [ k, K, dead_abovering, asciitilde ] };
852 key <AB07> { [ m, M, dead_macron, asciitilde ] };
853 key <AB08> { [ comma, less, dead_cedilla, asciitilde ] };
854 key <AB09> { [ period, greater, dead_abovedot, asciitilde ] };
855 key <AB10> { [ slash, question, questiondown, asciitilde ] };
856
857 key <CAPS> { [ BackSpace, BackSpace, BackSpace, BackSpace ] };
858 key <LSGT> { [ minus, underscore, endash, emdash ] };
859 key <SPCE> { [ space, space, space, nobreakspace ] };
860
861 include "level3(ralt_switch)"
862 };
863
864
865 // Colemak-DH (ANSI) symbols for xkb on X.Org Server 7.x
866 // 2014-10-25 by SteveP, https://colemakmods.github.io/mod-dh/
867
868 xkb_symbols "colemak_dh" {
869
870 name[Group1]= "English (Colemak-DH)";
871
872 key <TLDE> { [ grave, asciitilde, dead_tilde, asciitilde ] };
873 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
874 key <AE02> { [ 2, at, masculine, twosuperior ] };
875 key <AE03> { [ 3, numbersign, ordfeminine, threesuperior ] };
876 key <AE04> { [ 4, dollar, cent, sterling ] };
877 key <AE05> { [ 5, percent, EuroSign, yen ] };
878 key <AE06> { [ 6, asciicircum, hstroke, Hstroke ] };
879 key <AE07> { [ 7, ampersand, eth, ETH ] };
880 key <AE08> { [ 8, asterisk, thorn, THORN ] };
881 key <AE09> { [ 9, parenleft, leftsinglequotemark, leftdoublequotemark ] };
882 key <AE10> { [ 0, parenright, rightsinglequotemark, rightdoublequotemark ] };
883 key <AE11> { [ minus, underscore, endash, emdash ] };
884 key <AE12> { [ equal, plus, multiply, division ] };
885
886 key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] };
887 key <AD02> { [ w, W, aring, Aring ] };
888 key <AD03> { [ f, F, atilde, Atilde ] };
889 key <AD04> { [ p, P, oslash, Ooblique ] };
890 key <AD05> { [ b, B, dead_breve, asciitilde ] };
891 key <AD06> { [ j, J, dstroke, Dstroke ] };
892 key <AD07> { [ l, L, lstroke, Lstroke ] };
893 key <AD08> { [ u, U, uacute, Uacute ] };
894 key <AD09> { [ y, Y, udiaeresis, Udiaeresis ] };
895 key <AD10> { [ semicolon, colon, odiaeresis, Odiaeresis ] };
896 key <AD11> { [ bracketleft, braceleft, guillemotleft, 0x1002039 ] };
897 key <AD12> { [ bracketright, braceright, guillemotright, 0x100203a ] };
898 key <BKSL> { [ backslash, bar, asciitilde, asciitilde ] };
899
900 key <AC01> { [ a, A, aacute, Aacute ] };
901 key <AC02> { [ r, R, dead_grave, asciitilde ] };
902 key <AC03> { [ s, S, ssharp, 0x1001e9e ] };
903 key <AC04> { [ t, T, dead_acute, dead_doubleacute ] };
904 key <AC05> { [ g, G, dead_ogonek, asciitilde ] };
905 key <AC06> { [ m, M, dead_macron, asciitilde ] };
906 key <AC07> { [ n, N, ntilde, Ntilde ] };
907 key <AC08> { [ e, E, eacute, Eacute ] };
908 key <AC09> { [ i, I, iacute, Iacute ] };
909 key <AC10> { [ o, O, oacute, Oacute ] };
910 key <AC11> { [ apostrophe, quotedbl, otilde, Otilde ] };
911
912 key <LSGT> { [ z, Z, ae, AE ] };
913 key <AB01> { [ x, X, dead_circumflex, asciitilde ] };
914 key <AB02> { [ c, C, ccedilla, Ccedilla ] };
915 key <AB03> { [ d, D, dead_diaeresis, asciitilde ] };
916 key <AB04> { [ v, V, oe, OE ] };
917 key <AB05> { [ z, Z, ae, AE ] }; //Z appears here too because <LSGT> key is not present on ANSI keyboards
918 key <AB06> { [ k, K, dead_abovering, asciitilde ] };
919 key <AB07> { [ h, H, dead_caron, asciitilde ] };
920 key <AB08> { [ comma, less, dead_cedilla, asciitilde ] };
921 key <AB09> { [ period, greater, dead_abovedot, asciitilde ] };
922 key <AB10> { [ slash, question, questiondown, asciitilde ] };
923
924 key <SPCE> { [ space, space, space, nobreakspace ] };
925
926 include "level3(ralt_switch)"
927 };
928
929 // Colemak-DH (ISO) symbols for xkb on X.Org Server 7.x
930 // https://colemakmods.github.io/mod-dh/
931
932 xkb_symbols "colemak_dh_iso" {
933
934 include "us(colemak_dh)"
935 name[Group1]= "English (Colemak-DH ISO)";
936
937 key <AB05> { [ backslash, bar, asciitilde, brokenbar] };
938
939 include "level3(ralt_switch)"
940 };
941
942 // I do NOT like dead-keys - the International keyboard as defined by Microsoft
943 // does not fit my needs. Why use two keystrokes for all simple characters (eg '
944 // and <space> generates a single ') just to have an (eacute) in two strokes
945 // as well? I type ' more often than (eacute).
946 //
947 // This file works just like a regular keyboard, BUT has all dead-keys
948 // accessible at level3 (through AltGr). An (ediaeresis) is now: AltGr+"
949 // followed by an e. In other words, this keyboard is not international as long
950 // as you leave the right Alt key alone.
951 //
952 // The original MS International keyboard was intended for Latin1 (iso8859-1).
953 // With the introduction of iso8859-15, the (important) ligature oe (and OE)
954 // became available. I added them next to ae. Because I write ediaeresis more
955 // often than registered, I moved registered to be next to copyright and added
956 // ediaeresis and idiaeresis. - Adriaan
957
958 partial alphanumeric_keys
959 xkb_symbols "altgr-intl" {
960
961 include "us(intl)"
962 name[Group1]= "English (intl., with AltGr dead keys)";
963
964 // five dead keys moved into level3:
965
966 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
967 key <AC11> { [apostrophe,quotedbl, dead_acute, dead_diaeresis ] };
968
969 // diversions from the MS Intl keyboard:
970
971 key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
972 key <AD04> { [ r, R, ediaeresis, Ediaeresis ] };
973 key <AC07> { [ j, J, idiaeresis, Idiaeresis ] };
974 key <AB02> { [ x, X, oe, OE ] };
975 key <AB04> { [ v, V, registered, registered ] };
976
977 // onequarter etc (not in iso8859-15) moved to get three unshifted deadkeys:
978
979 key <AE06> { [ 6, asciicircum, dead_circumflex, onequarter ] };
980 key <AE07> { [ 7, ampersand, dead_horn, onehalf ] };
981 key <AE08> { [ 8, asterisk, dead_ogonek, threequarters ] };
982
983 include "level3(ralt_switch)"
984 };
985
986 // Intel ClassmatePC Keyboard Layout
987 // by Piter PUNK <piterpk (a] terra.com.br>
988 //
989 // The keyboard layouts below maps the us(basic), us(intl) and us(alt-intl)
990 // to ClassmatePC keyboard. All layouts uses RCTL as level3(switch) since
991 // the keyboard does not have AltGr key. The EuroSign is engraved at 5 key.
992
993 // classmate - us(basic)
994 partial alphanumeric_keys
995 xkb_symbols "classmate" {
996 include "us(basic)"
997 name[Group1]= "English (US)";
998
999 key <LSGT> { [ backslash, bar, backslash, bar ] };
1000
1001 include "eurosign(5)"
1002 include "level3(switch)"
1003 };
1004
1005 // classmate-intl - us(intl)
1006 // RCTL is generated by Fn+Alt, because of that, when trying to access
1007 // the level3 symbols at 7,8,9,0, u,i,o,p, j,k,l,;, and m,.,/, we get
1008 // the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key>
1009 // generate the same symbol as the original key.
1010 partial alphanumeric_keys
1011 xkb_symbols "classmate-intl" {
1012 include "us(intl)"
1013 name[Group1]= "USA - ClassmatePC (International)";
1014 key.type[Group1]="FOUR_LEVEL";
1015
1016 key <LSGT> { [ backslash, bar, backslash, bar ] };
1017
1018 key <KP7> { [ KP_Home, KP_7, onehalf, dead_horn ] };
1019 key <KP8> { [ KP_Up, KP_8, threequarters, dead_ogonek ] };
1020 key <KP9> { [ KP_Prior, KP_9, leftsinglequotemark, dead_breve ] };
1021 key <KPMU> { [ KP_Multiply, KP_Multiply, rightsinglequotemark, dead_abovering ] };
1022
1023 key <KP4> { [ KP_Left, KP_4, uacute, Uacute ] };
1024 key <KP5> { [ KP_Begin, KP_5, iacute, Iacute ] };
1025 key <KP6> { [ KP_Right, KP_6, oacute, Oacute ] };
1026 key <KPSU> { [ KP_Subtract, KP_Subtract, odiaeresis, Odiaeresis ] };
1027
1028 key <KP2> { [ KP_Down, KP_2, oe, OE ] };
1029 key <KP3> { [ KP_Next, KP_3, oslash, Ooblique ] };
1030 key <KPAD> { [ KP_Add, KP_Add, paragraph, degree ] };
1031
1032 key <KP0> { [ KP_Insert, KP_0, mu, mu ] };
1033 key <KPDL> { [ KP_Delete, KP_Decimal, dead_abovedot, dead_caron ] };
1034 key <KPDV> { [ KP_Divide, KP_Divide, questiondown, dead_hook ] };
1035
1036 include "level3(switch)"
1037 };
1038
1039 // classmate-alt-intl - us(alt-intl)
1040 // RCTL is generated by Fn+Alt, because of that, when trying to access
1041 // the level3 symbols at 7,8,9,0, u,i,o,p, j,k,l,;, and m,.,/, we get
1042 // the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key>
1043 // generate the same symbol as the original key.
1044 partial alphanumeric_keys
1045 xkb_symbols "classmate-alt-intl" {
1046 include "us(alt-intl)"
1047 name[Group1]= "USA - ClassmatePC (Alternative international)";
1048 key.type[Group1]="FOUR_LEVEL";
1049
1050 key <LSGT> { [ backslash, bar, backslash, bar ] };
1051
1052 key <KPSU> { [ KP_Subtract, KP_Subtract ] };
1053
1054 key <KP9> { [ KP_Prior, KP_9, leftsinglequotemark, dead_breve ] };
1055 key <KPMU> { [ KP_Multiply, KP_Multiply, rightsinglequotemark, dead_abovering ] };
1056
1057 key <KPAD> { [ KP_Add, KP_Add, dead_ogonek, dead_diaeresis ] };
1058
1059 key <KPDL> { [ KP_Delete, KP_Decimal, dead_abovedot, dead_circumflex] };
1060 key <KPDV> { [ KP_Divide, KP_Divide, dead_hook, dead_hook ] };
1061
1062 include "level3(switch)"
1063 };
1064
1065 // classmate-altgr-intl - us(altgr-intl)
1066 // RCTL is generated by Fn+Alt, because of that, when trying to access
1067 // the level3 symbols at 7,8,9,0, u,i,o,p, j,k,l,;, and m,.,/, we get
1068 // the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key>
1069 // generate the same symbol as the original key.
1070 partial alphanumeric_keys
1071 xkb_symbols "classmate-altgr-intl" {
1072 include "us(altgr-intl)"
1073 name[Group1]= "USA - ClassmatePC (International Fn+Alt dead-keys)";
1074 key.type[Group1]="FOUR_LEVEL";
1075
1076 key <LSGT> { [ backslash, bar, backslash, bar ] };
1077
1078 key <KP7> { [ KP_Home, KP_7, dead_horn, dead_horn ] };
1079 key <KP8> { [ KP_Up, KP_8, dead_ogonek, dead_ogonek ] };
1080 key <KP9> { [ KP_Prior, KP_9, leftsinglequotemark, dead_breve ] };
1081 key <KPMU> { [ KP_Multiply, KP_Multiply, rightsinglequotemark, dead_abovering ] };
1082
1083 key <KP4> { [ KP_Left, KP_4, uacute, Uacute ] };
1084 key <KP5> { [ KP_Begin, KP_5, iacute, Iacute ] };
1085 key <KP6> { [ KP_Right, KP_6, oacute, Oacute ] };
1086 key <KPSU> { [ KP_Subtract, KP_Subtract, odiaeresis, Odiaeresis ] };
1087
1088 key <KP1> { [ KP_End, KP_1, idiaeresis, Idiaeresis ] };
1089 key <KP2> { [ KP_Down, KP_2, oe, OE ] };
1090 key <KP3> { [ KP_Next, KP_3, oslash, Ooblique ] };
1091 key <KPAD> { [ KP_Add, KP_Add, paragraph, degree ] };
1092
1093 key <KP0> { [ KP_Insert, KP_0, mu, mu ] };
1094 key <KPDL> { [ KP_Delete, KP_Decimal, dead_abovedot, dead_caron ] };
1095 key <KPDV> { [ KP_Divide, KP_Divide, questiondown, dead_hook ] };
1096
1097 include "level3(switch)"
1098 };
1099
1100 partial alphanumeric_keys
1101 xkb_symbols "olpc" {
1102
1103 include "us(basic)"
1104 name[Group1]= "English (US)";
1105
1106 // OLPC international US English keyboard layout.
1107 // It's a little different from the usual international layout.
1108 // See: http://wiki.laptop.org/go/Image:Keyboard_english.png
1109
1110 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
1111 key <AE01> { [ 1, exclam, exclamdown, exclamdown ] };
1112 key <AE02> { [ 2, at, notsign, notsign ] };
1113 key <AE03> { [ 3, numbersign, 0x1000300, 0x1000300 ] }; // combining grave
1114 key <AE04> { [ 4, dollar, 0x1000301, 0x1000301 ] }; // combining acute
1115 key <AE05> { [ 5, percent, 0x1000306, 0x1000306 ] }; // combining breve above
1116 key <AE06> { [ 6,asciicircum, 0x100030A, 0x100030A ] }; // combining ring above
1117 key <AE07> { [ 7, ampersand, 0x1000302, 0x1000302 ] }; // combining circumflex above
1118 key <AE08> { [ 8, asterisk, 0x100030C, 0x100030C ] }; // combining caron above
1119 key <AE09> { [ 9, parenleft, 0x1000307, 0x1000307 ] }; // combining dot above
1120 key <AE10> { [ 0, parenright, 0x1000308, 0x1000308 ] }; // combining diaeresis above
1121 key <AE11> { [ minus, underscore, 0x1000304, 0x1000304 ] }; // combining macron above
1122 key <AE12> { [ equal, plus, 0x1000303, 0x1000303 ] }; // combining tilde above
1123
1124 key <AD01> { [ q, Q, Greek_omega, Greek_OMEGA ] };
1125 key <AD02> { [ w, W, oslash, Oslash ] };
1126 key <AD03> { [ e, E, oe, OE ] };
1127 key <AD04> { [ r, R, 0x1000327, 0x1000327 ] }; // combining cedilla
1128 key <AD05> { [ t, T, 0x100032E, 0x100032E ] }; // combining breve below
1129 key <AD06> { [ y, Y, 0x1000325, 0x1000325 ] }; // combining ring below
1130 key <AD07> { [ u, U, 0x100032D, 0x100032D ] }; // combining circumflex below
1131 key <AD08> { [ i, I, 0x100032C, 0x100032C ] }; // combining caron below
1132 key <AD09> { [ o, O, 0x1000323, 0x1000323 ] }; // combining dot below
1133 key <AD10> { [ p, P, 0x1000324, 0x1000324 ] }; // combining diaeresis below
1134 key <AD11> { [ bracketleft, braceleft, 0x1000331, 0x1000331 ] }; // combining macron below
1135 key <AD12> { [bracketright, braceright, 0x1000330, 0x1000330 ] }; // combining tilde below
1136
1137 key <AC01> { [ a, A, ae, AE ] };
1138 key <AC02> { [ s, S, ssharp, 0x1001E9E ] }; // uppercase S sharp
1139 key <AC03> { [ d, D, eth, ETH ] };
1140 key <AC04> { [ f, F, thorn, THORN ] };
1141 key <AC06> { [ h, H, sterling, sterling ] };
1142 key <AC07> { [ j, J, EuroSign, EuroSign ] };
1143 key <AC10> { [ semicolon, colon, masculine, ordfeminine ] };
1144 key <AC11> { [ apostrophe, quotedbl, currency, currency ] };
1145 key <AC12> { [ backslash, bar, section, section ] };
1146
1147 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
1148 key <AB06> { [ n, N, ntilde, Ntilde ] };
1149 key <AB07> { [ m, M, mu, mu ] };
1150 key <AB08> { [ comma, less, guillemotleft, guillemotleft ] };
1151 key <AB09> { [ period, greater, guillemotright, guillemotright ] };
1152 key <AB10> { [ slash, question, questiondown, questiondown ] };
1153
1154 key <I219> { [ multiply, division, ISO_Next_Group, ISO_Prev_Group ] };
1155
1156 include "level3(ralt_switch)"
1157 };
1158
1159 partial alphanumeric_keys
1160 xkb_symbols "olpc2" {
1161 include "us(olpc)"
1162 name[Group1]= "English (the divide/multiply toggle the layout)";
1163 include "group(olpc)"
1164 };
1165
1166 xkb_symbols "olpcm" {
1167
1168 include "us(basic)"
1169 name[Group1]= "English (US)";
1170
1171 // Mechanical (non-membrane) OLPC int'l US English keyboard layout.
1172 // See: http://wiki.laptop.org/go/OLPC_English_Non-membrane_Keyboard
1173
1174 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
1175 key <AE01> { [ 1, exclam, exclamdown, exclamdown ] };
1176 key <AE02> { [ 2, at, notsign, notsign ] };
1177 key <AE03> { [ 3, numbersign, 0x1000300, 0x1000300 ] }; // combining grave
1178 key <AE04> { [ 4, dollar, 0x1000301, 0x1000301 ] }; // combining acute
1179 key <AE05> { [ 5, percent, 0x1000306, 0x1000306 ] }; // combining breve above
1180 key <AE06> { [ 6,asciicircum, 0x100030A, 0x100030A ] }; // combining ring above
1181 key <AE07> { [ 7, ampersand, 0x1000302, 0x1000302 ] }; // combining circumflex above
1182 key <AE08> { [ 8, asterisk, 0x100030C, 0x100030C ] }; // combining caron above
1183 key <AE09> { [ 9, parenleft, 0x1000307, 0x1000307 ] }; // combining dot above
1184 key <AE10> { [ 0, parenright, 0x1000308, 0x1000308 ] }; // combining diaeresis above
1185 key <AE11> { [ minus, underscore, 0x1000304, 0x1000304 ] }; // combining macron above
1186
1187 key <AD01> { [ q, Q, Greek_omega, Greek_OMEGA ] };
1188 key <AD02> { [ w, W, oslash, Oslash ] };
1189 key <AD03> { [ e, E, oe, OE ] };
1190 key <AD04> { [ r, R, 0x1000327, 0x1000327 ] }; // combining cedilla
1191 key <AD05> { [ t, T, 0x100032E, 0x100032E ] }; // combining breve below
1192 key <AD06> { [ y, Y, 0x1000325, 0x1000325 ] }; // combining ring below
1193 key <AD07> { [ u, U, 0x100032D, 0x100032D ] }; // combining circumflex below
1194 key <AD08> { [ i, I, 0x100032C, 0x100032C ] }; // combining caron below
1195 key <AD09> { [ o, O, 0x1000323, 0x1000323 ] }; // combining dot below
1196 key <AD10> { [ p, P, 0x1000324, 0x1000324 ] }; // combining diaeresis below
1197 key <AD11> { [ bracketleft, braceleft, 0x1000331, 0x1000331 ] }; // combining macron below
1198 key <AD12> { [bracketright, braceright, 0x1000330, 0x1000330 ] }; // combining tilde below
1199
1200 key <AC01> { [ a, A, ae, AE ] };
1201 key <AC02> { [ s, S, ssharp, 0x1001E9E ] }; // uppercase S sharp
1202 key <AC03> { [ d, D, eth, ETH ] };
1203 key <AC04> { [ f, F, thorn, THORN ] };
1204 key <AC06> { [ h, H, sterling, sterling ] };
1205 key <AC07> { [ j, J, EuroSign, EuroSign ] };
1206 key <AC10> { [ semicolon, colon, masculine, ordfeminine ] };
1207 // no AC11 or AC12 on olpcm
1208
1209 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
1210 key <AB06> { [ n, N, ntilde, Ntilde ] };
1211 key <AB07> { [ m, M, mu, mu ] };
1212 key <AB08> { [ comma, less, guillemotleft, guillemotleft ] };
1213 key <AB09> { [ period, greater, guillemotright, guillemotright ] };
1214 key <AB10> { [ slash, question, questiondown, questiondown ] };
1215
1216 key <AA02> { [ backslash, bar, section, section ] };
1217 key <AA06> { [ equal, plus, 0x1000303, 0x1000303 ] };
1218 key <AA07> { [ apostrophe, quotedbl, currency, currency ] };
1219
1220 include "level3(ralt_switch)"
1221 };
1222
1223 // Based on Cherokee Nation Official Layout
1224 // http://www.cherokee.org/extras/downloads/font/Keyboard.htm
1225
1226 partial alphanumeric_keys modifier_keys
1227 xkb_symbols "chr" {
1228
1229 name[Group1]= "Cherokee";
1230 key.type[group1]="ALPHABETIC";
1231
1232 key <TLDE> { [ grave, U13CA ] };
1233 key <AE01> { [ 1, U13B1 ] };
1234 key <AE02> { [ 2, U13C7 ] };
1235 key <AE03> { [ 3, U13E7 ] };
1236 key <AE04> { [ U13D9, U13B0 ] };
1237 key <AE05> { [ U13E6, U13B9 ] };
1238 key <AE06> { [ U13DC, U13DD ] };
1239 key <AE07> { [ U13CB, U13E1 ] };
1240 key <AE08> { [ U13D6, U13BA ] };
1241 key <AE09> { [ U13D2, parenleft ] };
1242 key <AE10> { [ U13C4, parenright ] };
1243 key <AE11> { [ U13BF, U13BC ] };
1244 key <AE12> { [ U13F3, U13BD ] };
1245
1246 key <AD01> { [ U13AA, U13C6 ] };
1247 key <AD02> { [ U13B3, U13EB ] };
1248 key <AD03> { [ U13A1, U13E3 ] };
1249 key <AD04> { [ U13DB, U13CF ] };
1250 key <AD05> { [ U13D4, U13D8 ] };
1251 key <AD06> { [ U13EF, U13F2 ] };
1252 key <AD07> { [ U13A4, U13AD ] };
1253 key <AD08> { [ U13A2, U13F1 ] };
1254 key <AD09> { [ U13A3, U13EC ] };
1255 key <AD10> { [ U13C1, U13EA ] };
1256 key <AD11> { [ U13D5, U13D1 ] };
1257 key <AD12> { [ U13B6, U13E4 ] };
1258 key <BKSL> { [ U13E9, U13EE ] };
1259
1260 key <AC01> { [ U13A0, U13CC ] };
1261 key <AC02> { [ U13CD, U13CE ] };
1262 key <AC03> { [ U13D7, U13D0 ] };
1263 key <AC04> { [ U13A9, U13C8 ] };
1264 key <AC05> { [ U13A6, U13E5 ] };
1265 key <AC06> { [ U13AF, U13B2 ] };
1266 key <AC07> { [ U13DA, U13AB ] };
1267 key <AC08> { [ U13B8, U13A7 ] };
1268 key <AC09> { [ U13B5, U13AE ] };
1269 key <AC10> { [ U13E8, U13E0 ] };
1270 key <AC11> { [ apostrophe, quotedbl ] };
1271
1272 key <AB01> { [ U13AC, U13C3 ] };
1273 key <AB02> { [ U13F4, U13ED ] };
1274 key <AB03> { [ U13D3, U13DF ] };
1275 key <AB04> { [ U13A5, U13DE ] };
1276 key <AB05> { [ U13A8, U13F0 ] };
1277 key <AB06> { [ U13BE, U13BB ] };
1278 key <AB07> { [ U13C5, U13B7 ] };
1279 key <AB08> { [ comma, U13E2 ] };
1280 key <AB09> { [ period, U13B4 ] };
1281 key <AB10> { [ U13C2, U13C9 ] };
1282 };
1283
1284 // Add Hawaiian `okina and kahako to US layout
1285 // Author: Greg Meyer <gregory.meyer (a] gmail.com>, 2020
1286 // this mapping follows the one for Windows here: http://www.olelo.hawaii.edu/enehana/winkbd.php
1287 // `okina replaces apostrophe (apostrophe moves to level 3)
1288 // vowels with kahako (macron) are level 3 symbols
1289 partial alphanumeric_keys
1290 xkb_symbols "haw" {
1291
1292 include "us(basic)"
1293 name[Group1] = "Hawaiian";
1294
1295 // `okina replaces single apostrophe
1296 // alt gives the literal apostrophe
1297 key <AC11> {[ U02BB, quotedbl, apostrophe ] };
1298
1299 // kahako
1300 key <AC01> {[ a, A, amacron, Amacron ]};
1301 key <AD03> {[ e, E, emacron, Emacron ]};
1302 key <AD07> {[ u, U, umacron, Umacron ]};
1303 key <AD08> {[ i, I, imacron, Imacron ]};
1304 key <AD09> {[ o, O, omacron, Omacron ]};
1305
1306 include "level3(ralt_switch)"
1307 };
1308
1309 // Serbian charecters added as third level symbols to US keyboard layout.
1310
1311 partial alphanumeric_keys
1312 xkb_symbols "hbs" {
1313
1314 include "us"
1315 name[Group1]= "Serbo-Croatian (US)";
1316
1317 key <TLDE> { [ grave, asciitilde ] };
1318 key <AE06> { [ 6, dead_caron, asciicircum, asciicircum ] };
1319 key <AE08> { [ 8, asterisk, multiply, division ] };
1320 key <AE11> { [ minus, underscore, endash, emdash ] };
1321 key <AC09> { [ l, L, U1C9, U1C8 ] };
1322 key <AB06> { [ n, N, U1CC, U1CB ] };
1323 key <AB01> { [ z, Z, U1C6, U1C5 ] };
1324 key <AD03> { [ e, E, EuroSign, cent ] };
1325 key <AC03> { [ d, D, dstroke, Dstroke ] };
1326 key <AC11> { [ dead_acute, quotedbl, apostrophe, apostrophe ] };
1327 key <SPCE> { [ space, space, nobreakspace, nobreakspace ] };
1328 key <AB08> { [ comma, less, U3003, guillemotright ] };
1329 key <AB09> { [ period, greater, ellipsis, guillemotleft ] };
1330
1331 include "level3(ralt_switch)"
1332 };
1333
1334 // Workman Keyboard Layout symbols for xkb on X.Org Server 7.x
1335 // 09-06-2010 OJ Bucao. http://www.workmanlayout.com
1336
1337 partial alphanumeric_keys
1338 xkb_symbols "workman" {
1339
1340 include "us(basic)"
1341 name[Group1]= "English (Workman)";
1342
1343 key <AD01> { [ q, Q ] };
1344 key <AD02> { [ d, D ] };
1345 key <AD03> { [ r, R ] };
1346 key <AD04> { [ w, W ] };
1347 key <AD05> { [ b, B ] };
1348 key <AD06> { [ j, J ] };
1349 key <AD07> { [ f, F ] };
1350 key <AD08> { [ u, U ] };
1351 key <AD09> { [ p, P ] };
1352 key <AD10> { [ semicolon, colon ] };
1353
1354 key <AC01> { [ a, A ] };
1355 key <AC02> { [ s, S ] };
1356 key <AC03> { [ h, H ] };
1357 key <AC04> { [ t, T ] };
1358 key <AC05> { [ g, G ] };
1359 key <AC06> { [ y, Y ] };
1360 key <AC07> { [ n, N ] };
1361 key <AC08> { [ e, E ] };
1362 key <AC09> { [ o, O ] };
1363 key <AC10> { [ i, I ] };
1364
1365 key <AB01> { [ z, Z ] };
1366 key <AB02> { [ x, X ] };
1367 key <AB03> { [ m, M ] };
1368 key <AB04> { [ c, C ] };
1369 key <AB05> { [ v, V ] };
1370 key <AB06> { [ k, K ] };
1371 key <AB07> { [ l, L ] };
1372
1373 key <CAPS> { [ BackSpace, Escape, BackSpace, BackSpace ] };
1374
1375 include "level3(ralt_switch)"
1376 };
1377
1378 partial alphanumeric_keys
1379 xkb_symbols "workman-intl" {
1380
1381 include "us(intl)"
1382 name[Group1]= "English (Workman, intl., with dead keys)";
1383
1384 key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] };
1385 key <AD02> { [ d, D, eth, ETH ] };
1386 key <AD03> { [ r, R, registered, registered ] };
1387 key <AD04> { [ w, W, aring, Aring ] };
1388 key <AD05> { [ b, B, b, B ] };
1389 key <AD06> { [ j, J, j, J ] };
1390 key <AD07> { [ f, F, f, F ] };
1391 key <AD08> { [ u, U, uacute, Uacute ] };
1392 key <AD09> { [ p, P, odiaeresis, Odiaeresis ] };
1393 key <AD10> { [ semicolon, colon, paragraph, degree ] };
1394
1395 key <AC01> { [ a, A, aacute, Aacute ] };
1396 key <AC02> { [ s, S, ssharp, section ] };
1397 key <AC03> { [ h, H, h, H ] };
1398 key <AC04> { [ t, T, thorn, THORN ] };
1399 key <AC05> { [ g, G, g, G ] };
1400 key <AC06> { [ y, Y, udiaeresis, Udiaeresis ] };
1401 key <AC07> { [ n, N, ntilde, Ntilde ] };
1402 key <AC08> { [ e, E, eacute, Eacute ] };
1403 key <AC09> { [ o, O, oacute, Oacute ] };
1404 key <AC10> { [ i, I, iacute, Iacute ] };
1405
1406 key <AB01> { [ z, Z, ae, AE ] };
1407 key <AB02> { [ x, X, x, X ] };
1408 key <AB03> { [ m, M, mu, mu ] };
1409 key <AB04> { [ c, C, copyright, cent ] };
1410 key <AB05> { [ v, V, v, V ] };
1411 key <AB06> { [ k, K, oe, OE ] };
1412 key <AB07> { [ l, L, oslash, Ooblique ] };
1413
1414 key <CAPS> { [ BackSpace, Escape, BackSpace, BackSpace ] };
1415
1416 include "level3(ralt_switch)"
1417 };
1418
1419 // Norman keyboard layout symbols for xkb on X.Org Server 7.x
1420 // Written 11/23/2012, revised 3/7/2013 by David Norman http://normanlayout.info
1421 // To the extent possible under law, the author(s) have dedicated all
1422 // copyright and related and neighboring rights to this software to the
1423 // public domain worldwide. This software is distributed without any warranty.
1424
1425 partial alphanumeric_keys
1426 xkb_symbols "norman" {
1427
1428 include "us(basic)"
1429 name[Group1]= "English (Norman)";
1430
1431 key <AD01> { [ q, Q ] };
1432 key <AD02> { [ w, W ] };
1433 key <AD03> { [ d, D ] };
1434 key <AD04> { [ f, F ] };
1435 key <AD05> { [ k, K ] };
1436 key <AD06> { [ j, J ] };
1437 key <AD07> { [ u, U ] };
1438 key <AD08> { [ r, R ] };
1439 key <AD09> { [ l, L ] };
1440 key <AD10> { [ semicolon, colon ] };
1441
1442 key <AC01> { [ a, A ] };
1443 key <AC02> { [ s, S ] };
1444 key <AC03> { [ e, E ] };
1445 key <AC04> { [ t, T ] };
1446 key <AC05> { [ g, G ] };
1447 key <AC06> { [ y, Y ] };
1448 key <AC07> { [ n, N ] };
1449 key <AC08> { [ i, I ] };
1450 key <AC09> { [ o, O ] };
1451 key <AC10> { [ h, H ] };
1452
1453 key <AB01> { [ z, Z ] };
1454 key <AB02> { [ x, X ] };
1455 key <AB03> { [ c, C ] };
1456 key <AB04> { [ v, V ] };
1457 key <AB05> { [ b, B ] };
1458 key <AB06> { [ p, P ] };
1459 key <AB07> { [ m, M ] };
1460
1461 key <CAPS> { [ BackSpace ] };
1462
1463 include "level3(ralt_switch)"
1464 };
1465
1466 // Carpalx layout created by Martin Krzywinski
1467 // http://mkweb.bcgsc.ca/carpalx/
1468
1469 partial alphanumeric_keys
1470 xkb_symbols "carpalx" {
1471
1472 name[Group1]= "English (Carpalx)";
1473
1474 key <TLDE> { [ grave, asciitilde ] };
1475 key <AE01> { [ 1, exclam ] };
1476 key <AE02> { [ 2, at ] };
1477 key <AE03> { [ 3, numbersign ] };
1478 key <AE04> { [ 4, dollar ] };
1479 key <AE05> { [ 5, percent ] };
1480 key <AE06> { [ 6, asciicircum ] };
1481 key <AE07> { [ 7, ampersand ] };
1482 key <AE08> { [ 8, asterisk ] };
1483 key <AE09> { [ 9, parenleft ] };
1484 key <AE10> { [ 0, parenright ] };
1485 key <AE11> { [ minus, underscore ] };
1486 key <AE12> { [ equal, plus ] };
1487
1488 key <AD01> { [ q, Q ] };
1489 key <AD02> { [ g, G ] };
1490 key <AD03> { [ m, M ] };
1491 key <AD04> { [ l, L ] };
1492 key <AD05> { [ w, W ] };
1493 key <AD06> { [ y, Y ] };
1494 key <AD07> { [ f, F ] };
1495 key <AD08> { [ u, U ] };
1496 key <AD09> { [ b, B ] };
1497 key <AD10> { [ semicolon, colon ] };
1498 key <AD11> { [ bracketleft, braceleft ] };
1499 key <AD12> { [ bracketright, braceright ] };
1500
1501 key <AC01> { [ d, D ] };
1502 key <AC02> { [ s, S ] };
1503 key <AC03> { [ t, T ] };
1504 key <AC04> { [ n, N ] };
1505 key <AC05> { [ r, R ] };
1506 key <AC06> { [ i, I ] };
1507 key <AC07> { [ a, A ] };
1508 key <AC08> { [ e, E ] };
1509 key <AC09> { [ o, O ] };
1510 key <AC10> { [ h, H ] };
1511 key <AC11> { [ apostrophe, quotedbl ] };
1512
1513 key <AB01> { [ z, Z ] };
1514 key <AB02> { [ x, X ] };
1515 key <AB03> { [ c, C ] };
1516 key <AB04> { [ v, V ] };
1517 key <AB05> { [ j, J ] };
1518 key <AB06> { [ k, K ] };
1519 key <AB07> { [ p, P ] };
1520 key <AB08> { [ comma, less ] };
1521 key <AB09> { [ period, greater ] };
1522 key <AB10> { [ slash, question ] };
1523
1524 key <BKSL> { [ backslash, bar ] };
1525 };
1526
1527 // Carpalx layout created by Martin Krzywinski
1528 // http://mkweb.bcgsc.ca/carpalx/
1529 // Merged with us(intl) and modified to move
1530 // accented vowels closer to the plain vowels
1531
1532 partial alphanumeric_keys
1533 xkb_symbols "carpalx-intl" {
1534
1535 name[Group1]= "English (Carpalx, intl., with dead keys)";
1536
1537 key <TLDE> { [dead_grave, dead_tilde, grave, asciitilde ] };
1538 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
1539 key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] };
1540 key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] };
1541 key <AE04> { [ 4, dollar, currency, sterling ] };
1542 key <AE05> { [ 5, percent, EuroSign, dead_cedilla ] };
1543 key <AE06> { [ 6, dead_circumflex, onequarter, asciicircum ] };
1544 key <AE07> { [ 7, ampersand, onehalf, dead_horn ] };
1545 key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] };
1546 key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] };
1547 key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] };
1548 key <AE11> { [ minus, underscore, yen, dead_belowdot ] };
1549 key <AE12> { [ equal, plus, multiply, division ] };
1550
1551 key <AD01> { [ q, Q, degree, paragraph ] };
1552 key <AD02> { [ g, G, U011F, U011E ] };
1553 key <AD03> { [ m, M, mu, mu ] };
1554 key <AD04> { [ l, L, copyright, cent ] };
1555 key <AD05> { [ w, W, w, W ] };
1556 key <AD06> { [ y, Y, idiaeresis, Idiaeresis ] };
1557 key <AD07> { [ f, F, adiaeresis, Adiaeresis ] };
1558 key <AD08> { [ u, U, udiaeresis, Udiaeresis ] };
1559 key <AD09> { [ b, B, odiaeresis, Odiaeresis ] };
1560 key <AD10> { [ semicolon, colon, oslash, Ooblique ] };
1561 key <AD11> { [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ] };
1562 key <AD12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] };
1563
1564 key <AC01> { [ d, D, eth, ETH ] };
1565 key <AC02> { [ s, S, ssharp, section ] };
1566 key <AC03> { [ t, T, thorn, THORN ] };
1567 key <AC04> { [ n, N, ntilde, Ntilde ] };
1568 key <AC05> { [ r, R, registered, registered ] };
1569 key <AC06> { [ i, I, iacute, Iacute ] };
1570 key <AC07> { [ a, A, aacute, Aacute ] };
1571 key <AC08> { [ e, E, eacute, Eacute ] };
1572 key <AC09> { [ o, O, oacute, Oacute ] };
1573 key <AC10> { [ h, H, uacute, Uacute ] };
1574 key <AC11> { [dead_acute, dead_diaeresis, apostrophe, quotedbl ] };
1575
1576 key <AB01> { [ z, Z, z, Z ] };
1577 key <AB02> { [ x, X, U015F, U015E ] };
1578 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
1579 key <AB04> { [ v, V, ae, AE ] };
1580 key <AB05> { [ j, J, oe, OE ] };
1581 key <AB06> { [ k, K, U0131, U0130 ] };
1582 key <AB07> { [ p, P, aring, Aring ] };
1583 key <AB08> { [ comma, less, ediaeresis, Ediaeresis ] };
1584 key <AB09> { [ period, greater, dead_abovedot, dead_caron ] };
1585 key <AB10> { [ slash, question, questiondown, dead_hook ] };
1586 key <BKSL> { [ backslash, bar, notsign, brokenbar ] };
1587
1588 key <LSGT> { [ backslash, bar, backslash, bar ] };
1589
1590 include "level3(ralt_switch)"
1591 };
1592
1593 // Carpalx layout created by Martin Krzywinski
1594 // http://mkweb.bcgsc.ca/carpalx/
1595 // Merged with us(intl) and us(altgr-intl) and modified to move
1596 // accented vowels closer to the plain vowels
1597
1598 partial alphanumeric_keys
1599 xkb_symbols "carpalx-altgr-intl" {
1600
1601 include "us(carpalx-intl)"
1602 name[Group1]= "English (Carpalx, intl., with AltGr dead keys)";
1603
1604 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
1605 key <AC11> { [apostrophe,quotedbl, dead_acute, dead_diaeresis ] };
1606
1607 key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
1608
1609 key <AE06> { [ 6, asciicircum, dead_circumflex, onequarter ] };
1610 key <AE07> { [ 7, ampersand, dead_horn, onehalf ] };
1611 key <AE08> { [ 8, asterisk, dead_ogonek, threequarters ] };
1612
1613 include "level3(ralt_switch)"
1614 };
1615
1616 // Carpalx layout created by Martin Krzywinski
1617 // Full optimization variant without fixed QWERTY-like ZXCV keys
1618 // http://mkweb.bcgsc.ca/carpalx/
1619
1620 partial alphanumeric_keys
1621 xkb_symbols "carpalx-full" {
1622
1623 include "us(carpalx)"
1624 name[Group1]= "English (Carpalx, full optimization)";
1625
1626 key <AD06> { [ b, B ] };
1627 key <AD07> { [ y, Y ] };
1628 key <AD09> { [ v, V ] };
1629
1630 key <AB04> { [ f, F ] };
1631 };
1632
1633 // Carpalx layout created by Martin Krzywinski
1634 // Full optimization variant without fixed QWERTY-like ZXCV keys
1635 // http://mkweb.bcgsc.ca/carpalx/
1636 // Merged with us(intl) and modified to move
1637 // accented vowels closer to the plain vowels
1638
1639 partial alphanumeric_keys
1640 xkb_symbols "carpalx-full-intl" {
1641
1642 include "us(carpalx-intl)"
1643 name[Group1]= "English (Carpalx, full optimization, intl., with dead keys)";
1644
1645 key <AD06> { [ b, B, idiaeresis, Idiaeresis ] };
1646 key <AD07> { [ y, Y, adiaeresis, Adiaeresis ] };
1647 key <AD09> { [ v, V, odiaeresis, Odiaeresis ] };
1648
1649 key <AB04> { [ f, F, ae, AE ] };
1650 };
1651
1652 // Carpalx layout created by Martin Krzywinski
1653 // Full optimization variant without fixed QWERTY-like ZXCV keys
1654 // http://mkweb.bcgsc.ca/carpalx/
1655 // Merged with us(intl) and us(altgr-intl) and modified to move
1656 // accented vowels closer to the plain vowels
1657
1658 partial alphanumeric_keys
1659 xkb_symbols "carpalx-full-altgr-intl" {
1660
1661 include "us(carpalx-altgr-intl)"
1662 name[Group1]= "English (Carpalx, full optimization, intl., with AltGr dead keys)";
1663
1664 key <AD06> { [ b, B, idiaeresis, Idiaeresis ] };
1665 key <AD07> { [ y, Y, adiaeresis, Adiaeresis ] };
1666 key <AD09> { [ v, V, odiaeresis, Odiaeresis ] };
1667
1668 key <AB04> { [ f, F, ae, AE ] };
1669 };
1670
1671 // US Symbolic
1672 // Author: Daniele Baisero <daniele.baisero (a] gmail.com>
1673 // Based on the default keyboard map from 'symbols/us', edited for scientific literature.
1674 // Added simple Greek letters to alphas, and common symbols everywhere else.
1675 // TLDE and BKSL are AltGr-inverse, to facilitate placement of ESC over TLDE on 60% keyboards.
1676 // LGST (Iso Key) contains rarely used floor and ceiling brackets.
1677 partial alphanumeric_keys modifier_keys
1678 xkb_symbols "symbolic" {
1679
1680 name[Group1]= "English (US, Symbolic)";
1681
1682 key <TLDE> { [ grave, asciitilde, backslash, bar ] }; // ` ~ \ |
1683 key <AE01> { [ 1, exclam, onesuperior, notsign ] }; // 1 !
1684 key <AE02> { [ 2, at, twosuperior, therefore ] }; // 2 @
1685 key <AE03> { [ 3, numbersign, threesuperior, sterling ] }; // 3 #
1686 key <AE04> { [ 4, dollar, foursuperior, EuroSign ] }; // 4 $
1687 key <AE05> { [ 5, percent, fivesuperior, U2030 ] }; // 5 %
1688 key <AE06> { [ 6, asciicircum, sixsuperior, squareroot ] }; // 6 ^
1689 key <AE07> { [ 7, ampersand, sevensuperior, section ] }; // 7 &
1690 key <AE08> { [ 8, asterisk, eightsuperior, infinity ] }; // 8 *
1691 key <AE09> { [ 9, parenleft, ninesuperior, periodcentered ] }; // 9 (
1692 key <AE10> { [ 0, parenright, zerosuperior, degree ] }; // 0 )
1693 key <AE11> { [ minus, underscore, notequal, plusminus ] }; // - _
1694 key <AE12> { [ equal, plus, multiply, division ] }; // = +
1695
1696 key <AD01> { [ q, Q, U2200, U2203 ] }; // q Q
1697 key <AD02> { [ w, W, elementof, notelementof ] }; // w W
1698 key <AD03> { [ e, E, Greek_epsilon, Greek_EPSILON ] }; // e E
1699 key <AD04> { [ r, R, Greek_rho, Greek_RHO ] }; // p P
1700 key <AD05> { [ t, T, Greek_tau, Greek_TAU ] }; // t T
1701 key <AD06> { [ y, Y, Greek_upsilon, Greek_UPSILON ] }; // y Y
1702 key <AD07> { [ u, U, Greek_theta, Greek_THETA ] }; // u U
1703 key <AD08> { [ i, I, Greek_iota, Greek_IOTA ] }; // i I
1704 key <AD09> { [ o, O, Greek_omicron, Greek_OMICRON ] }; // o O
1705 key <AD10> { [ p, P, Greek_pi, Greek_PI ] }; // p P
1706 key <AD11> { [ bracketleft, braceleft, union, intersection ] }; // [ {
1707 key <AD12> { [ bracketright, braceright, includedin, includes ] }; // ] }
1708
1709 key <AC01> { [ a, A, Greek_alpha, Greek_ALPHA ] }; // a A
1710 key <AC02> { [ s, S, Greek_sigma, Greek_SIGMA ] }; // s S
1711 key <AC03> { [ d, D, Greek_delta, Greek_DELTA ] }; // d D
1712 key <AC04> { [ f, F, Greek_phi, Greek_PHI ] }; // f F
1713 key <AC05> { [ g, G, Greek_gamma, Greek_GAMMA ] }; // g G
1714 key <AC06> { [ h, H, Greek_eta, Greek_ETA ] }; // h H
1715 key <AC07> { [ j, J, Greek_xi, Greek_XI ] }; // j J
1716 key <AC08> { [ k, K, Greek_kappa, Greek_KAPPA ] }; // k K
1717 key <AC09> { [ l, L, Greek_lamda, Greek_LAMDA ] }; // l L
1718 key <AC10> { [ semicolon, colon, downarrow, uparrow ] }; // ; :
1719 key <AC11> { [ apostrophe, quotedbl, rightarrow, leftarrow ] }; // ' "
1720
1721 key <AB01> { [ z, Z, Greek_zeta, Greek_ZETA ] }; // z Z
1722 key <AB02> { [ x, X, Greek_chi, Greek_CHI ] }; // x X
1723 key <AB03> { [ c, C, Greek_psi, Greek_PSI ] }; // c C
1724 key <AB04> { [ v, V, Greek_omega, Greek_OMEGA ] }; // v V
1725 key <AB05> { [ b, B, Greek_beta, Greek_BETA ] }; // b B
1726 key <AB06> { [ n, N, Greek_nu, Greek_NU ] }; // n N
1727 key <AB07> { [ m, M, Greek_mu, Greek_MU ] }; // m M
1728 key <AB08> { [ comma, less, lessthanequal, guillemotleft ] }; // , <
1729 key <AB09> { [ period, greater, greaterthanequal, guillemotright ] }; // . >
1730 key <AB10> { [ slash, question, U203D, U2766 ] }; // / ?
1731
1732 key <BKSL> { [ backslash, bar, grave, asciitilde ] }; // \ | ` ~
1733 key <LSGT> { [ U230A, U230B, U2308, U2309 ] }; //
1734
1735 include "level3(ralt_switch)"
1736 };
1737
1738 // EXTRAS:
1739
1740 // Czech, Slovak and German charecters added as third level symbols to US keyboard layout.
1741 partial alphanumeric_keys
1742 xkb_symbols "cz_sk_de" {
1743
1744 include "us"
1745 name[Group1]="Czech Slovak and German (US)";
1746
1747 key <TLDE> { [grave, asciitilde, uring, Uring ] };
1748 key <AE01> { [ 1, exclam, uacute, Uacute ] };
1749 key <AE02> { [ 2, at, ecaron, Ecaron ] };
1750 key <AE03> { [ 3, numbersign, scaron, Scaron ] };
1751 key <AE04> { [ 4, dollar, ccaron, Ccaron ] };
1752 key <AE05> { [ 5, percent, rcaron, Rcaron ] };
1753 key <AE06> { [ 6, asciicircum, zcaron, Zcaron ] };
1754 key <AE07> { [ 7, ampersand, yacute, Yacute ] };
1755 key <AE08> { [ 8, asterisk, aacute, Aacute ] };
1756 key <AE09> { [ 9, parenleft, iacute, Iacute ] };
1757 key <AE10> { [ 0, parenright, eacute, Eacute ] };
1758 key <AE11> { [minus, underscore, ssharp, 0x1001E9E ] };
1759 key <AE12> { [equal, plus, dead_acute, dead_caron ] };
1760
1761 key <AD03> { [ e, E, EuroSign, Eacute ] };
1762
1763 key <AD11> { [bracketleft, braceleft, udiaeresis, Udiaeresis ] };
1764 key <AC10> { [ semicolon, colon, odiaeresis, Odiaeresis ] };
1765 key <AC11> { [apostrophe, quotedbl,adiaeresis, Adiaeresis ] };
1766
1767 key <AC01> { [ a, A, aacute, Aacute ] };
1768 key <AD08> { [ i, I, iacute, Iacute ] };
1769 key <AD09> { [ o, O, oacute, Oacute ] };
1770 key <AD06> { [ y, Y, yacute, Yacute ] };
1771 key <AD07> { [ u, U, uring, Uring ] };
1772
1773 key <AC02> { [ s, S, scaron, Scaron ] };
1774 key <AB01> { [ z, Z, zcaron, Zcaron ] };
1775 key <AB03> { [ c, C, ccaron, Ccaron ] };
1776 key <AD04> { [ r, R, rcaron, Rcaron ] };
1777 key <AD05> { [ t, T, tcaron, Tcaron ] };
1778 key <AC03> { [ d, D, dcaron, Dcaron ] };
1779 key <AB06> { [ n, N, ncaron, Ncaron ] };
1780 key <AC09> { [ l, L, lcaron, Lcaron ] };
1781 key <AD10> { [ p, P,ocircumflex, Ocircumflex ] };
1782
1783 key <SPCE> { [ space, space, nobreakspace, nobreakspace] };
1784
1785 include "level3(ralt_switch)"
1786 };
1787
1788 // This is the above Jirka's us(cz_sk_de) layout variant extended with Polish, Spanish, Finnish and Swedish characters.
1789 // This layout variant is primarily targeted to Czech and Slovak polyglots and SW engineers (like the original above one).
1790 partial alphanumeric_keys
1791 xkb_symbols "cz_sk_pl_de_es_fi_sv" {
1792
1793 include "us"
1794 name[Group1]="Czech, Slovak, Polish, Spanish, Finnish, Swedish and German (US)";
1795
1796 key <TLDE> { [grave, asciitilde, uring, Uring ] };
1797 key <AE01> { [ 1, exclam, uacute, Uacute ] };
1798 key <AE02> { [ 2, at, ecaron, Ecaron ] };
1799 key <AE03> { [ 3, numbersign, scaron, Scaron ] };
1800 key <AE04> { [ 4, dollar, ccaron, Ccaron ] };
1801 key <AE05> { [ 5, percent, rcaron, Rcaron ] };
1802 key <AE06> { [ 6, asciicircum, zcaron, Zcaron ] };
1803 key <AE07> { [ 7, ampersand, yacute, Yacute ] };
1804 key <AE08> { [ 8, asterisk, aacute, Aacute ] };
1805 key <AE09> { [ 9, parenleft, iacute, Iacute ] };
1806 key <AE10> { [ 0, parenright, eacute, Eacute ] };
1807 key <AE11> { [minus, underscore, ssharp, 0x1001E9E ] };
1808 key <AE12> { [equal, plus, dead_acute, dead_caron ] };
1809
1810 key <AD03> { [ e, E, EuroSign, Eacute ] };
1811
1812 key <AD11> { [bracketleft, braceleft, udiaeresis, Udiaeresis ] };
1813 key <AC10> { [ semicolon, colon, odiaeresis, Odiaeresis ] };
1814 key <AC11> { [apostrophe, quotedbl,adiaeresis, Adiaeresis ] };
1815
1816 key <AC01> { [ a, A, aacute, Aacute ] };
1817 key <AD08> { [ i, I, iacute, Iacute ] };
1818 key <AD09> { [ o, O, oacute, Oacute ] };
1819 key <AD06> { [ y, Y, yacute, Yacute ] };
1820 key <AD07> { [ u, U, uring, Uring ] };
1821
1822 key <AC02> { [ s, S, scaron, Scaron ] };
1823 key <AB01> { [ z, Z, zcaron, Zcaron ] };
1824 key <AB03> { [ c, C, ccaron, Ccaron ] };
1825 key <AD04> { [ r, R, rcaron, Rcaron ] };
1826 key <AD05> { [ t, T, tcaron, Tcaron ] };
1827 key <AC03> { [ d, D, dcaron, Dcaron ] };
1828 key <AB06> { [ n, N, ncaron, Ncaron ] };
1829 key <AC09> { [ l, L, lcaron, Lcaron ] };
1830 key <AD10> { [ p, P,ocircumflex, Ocircumflex ] };
1831
1832 key <SPCE> { [ space, space, nobreakspace, nobreakspace] };
1833
1834 // Polish
1835 key <AD01> { [ q, Q, aogonek, Aogonek ] };
1836 key <AD02> { [ w, W, eogonek, Eogonek ] };
1837 key <AD12> { [bracketright, braceright, guillemotleft, guillemotright ] };
1838 key <AC04> { [ f, F, sacute, Sacute ] };
1839 key <AC05> { [ g, G, copyright, registered ] };
1840 key <AC06> { [ h, H, cent, trademark ] };
1841 key <AC07> { [ j, J, plusminus, degree ] };
1842 key <AC08> { [ k, K, lstroke, Lstroke ] };
1843 //alias <AC12> = <BKSL>;
1844 key <BKSL> { [ backslash, bar, aring, Aring ] };
1845 //Requires pc105 compatibility
1846 key <LSGT> { [ endash, emdash, zabovedot, Zabovedot ] };
1847 key <AB02> { [ x, X, zacute, Zacute ] };
1848 key <AB04> { [ v, V, cacute, Cacute ] };
1849 key <AB05> { [ b, B, ntilde, Ntilde ] };
1850 key <AB07> { [ m, M, nacute, Nacute ] };
1851 key <AB08> { [ comma, less,lessthanequal, multiply ] };
1852 key <AB09> { [ period, greater, greaterthanequal, division ] };
1853 key <AB10> { [ slash, question, exclamdown, questiondown ] };
1854
1855 include "level3(ralt_switch)"
1856 };
1857
1858 // 03 December 2017 - Added us(scn), please refer to
1859 // Cadmia Siciliana <l10n (a] cademiasiciliana.org>
1860 partial alphanumeric_keys
1861 xkb_symbols "scn" {
1862
1863 include "us(intl)"
1864 name[Group1]="Sicilian (US keyboard)";
1865
1866 key <AD03> { [ e, E, U0259, U018F ] };
1867 key <AC03> { [ d, D, U1E0D, U1E0C ] };
1868 key <AC04> { [ f, F, U0111, U0110 ] };
1869 key <AC06> { [ h, H, U1E25, U1E24 ] };
1870 key <AB02> { [ x, X, U03C7, U03A7 ] };
1871 key <AB09> { [ period, greater, U1D58, dead_caron ] };
1872
1873 include "level3(ralt_switch)"
1874 };
1875
1876 // XCompose is out! Unicode combining is in! For those of us who live
1877 // on the edge: A keymap using Unicode combining characters instead of
1878 // deadkeys. This variation does not deviate from the lame MS-style
1879 // US-intl layout; but it uses AltGr for combining, like altgr-intl.
1880 //
1881 // This might break your font layout systems (because they suck),
1882 // caveat emptor. Also, most of today's software will count
1883 // individual combining marks for selection, deletion, character
1884 // counting &c., and won't be smart enough to do canonical equivalence
1885 // when searching, &c.
1886 //
1887 // With Unicode combining you use "handwriting order", not
1888 // "typewriting order" as with deadkeys. That is, you first type the
1889 // base character, then the diacritics/accents/modifiers. This has
1890 // the advantage of avoiding hidden states --- each keypress changes
1891 // something on screen.
1892 //
1893 // TODO: as of now, this duplicates all us(intl) functionality with
1894 // combining. With care, perhaps we could add more combining marks
1895 // not present in intl, and support all major languages.
1896 partial alphanumeric_keys
1897 xkb_symbols "intl-unicode" {
1898
1899 include "us(intl)"
1900 include "level3(ralt_switch)"
1901
1902 name[Group1]= "English (US, intl., AltGr Unicode combining)";
1903
1904 key <TLDE> { [ grave, asciitilde, U0300, U0303 ] }; // grave, tilde
1905 key <AE02> { [ 2, at, twosuperior, U030B ] }; // double acute
1906 key <AE03> { [ 3, numbersign, threesuperior, U0304 ] }; // macron
1907 key <AE06> { [ 6, asciicircum, onequarter, U0302 ] }; // circumflex
1908 key <AE07> { [ 7, ampersand, onehalf, U031B ] }; // horn
1909 key <AE08> { [ 8, asterisk, threequarters, U0328 ] }; // ogonek
1910 key <AE09> { [ 9, parenleft, leftsinglequotemark, U0306 ] }; // breve
1911 key <AE10> { [ 0, parenright, rightsinglequotemark, U030A ] }; // abovering
1912
1913 key <AE11> { [ minus, underscore, yen, U0323 ] }; // belowdot
1914 key <AC11> { [ apostrophe, quotedbl, U0301, U0308 ] }; // acute, diaeresis
1915 key <AB09> { [ period, greater, U0307, U030C ] }; // abovedot, caron
1916 key <AB10> { [ slash, question, questiondown, U0309 ] }; // hook
1917
1918 // alt-intl compatibility
1919 key <AB08> { [ comma, less, U0327, U030C ] }; // cedilla, caron
1920 key <AC10> { [ semicolon, colon, U0328, U0308 ] }; // ogonek, diaeresis
1921 key <AE12> { [ equal, plus, U030B, U031B ] }; // doubleacute, horn
1922
1923 // We don't do combining latin letters and combining enclosures,
1924 // because support for those is very rare.
1925 };
1926
1927 // XCompose is out! Unicode combining is in! For those of us who live
1928 // on the edge: A keymap using Unicode combining characters instead of
1929 // deadkeys. This variation does break compatibility with us-intl,
1930 // whenever I thought it would be more mnemonic or Unicodeish.
1931 partial alphanumeric_keys
1932 xkb_symbols "alt-intl-unicode" {
1933
1934 include "us(intl-unicode)"
1935
1936 name[Group1]= "English (US, intl., AltGr Unicode combining, alt.)";
1937
1938 // easier macron; em-dash.
1939 // em-dash is available via compose, but I added here since it's such
1940 // an important typographic character.
1941 key <AE11> { [ minus, underscore, U0304, U2014 ] };
1942
1943 // belowdot, abovedot (caron at coma/less key, per above)
1944 key <AB09> { [ period, greater, U0323, U0307 ] };
1945 };
1946
1947 partial alphanumeric_keys
1948 xkb_symbols "ats" {
1949
1950 include "us"
1951 name[Group1]= "Atsina";
1952
1953 //Using Dead key to get COMBINING COMMA ABOVE for ejectives on
1954 //q, l, t, s, m, g, k, p, w, y, r
1955 //XCompose key is used for the other accute and grave.
1956
1957 key <AD03> { [ e, E, eacute, Eacute ] };
1958 key <AD07> { [ u, U, uacute, Uacute ] };
1959 key <AD08> { [ i, I, iacute, Iacute ] };
1960 key <AD09> { [ o, O, oacute, Oacute ] };
1961 key <AD11> { [ bracketleft, braceleft, U03B8 ] };
1962 key <AD12> { [ bracketright, braceright, U010D, U010C ] };
1963 //U+010C (uppercase ) and U+010D (lowercase ).
1964
1965 key <AC01> { [ a, A, aacute, Aacute ] };
1966
1967 //Small letter Open use compose to key get acute accent
1968 key <AB03> { [ c, C, U0254, U0186 ] };
1969 key <AB08> { [ comma, less, U0313 ] };
1970 key <AB10> { [ slash, question, U0294 ] };
1971
1972 include "level3(ralt_switch)"
1973 include "compose(rctrl)"
1974 };
1975
1976 partial alphanumeric_keys
1977 xkb_symbols "crd" {
1978
1979 include "us"
1980 name[Group1]= "Coeur d'Alene Salish";
1981
1982 key <AD02> { [ w, W, U02B7, U02B7 ] };
1983 key <AE07> { [ 7, ampersand, U0294 ] };
1984 key <AD01> { [ q, Q, U221A ] };
1985 key <AB04> { [ v, V, U0259 ] };
1986 key <BKSL> { [ backslash, bar, U026B ] };
1987 key <AD03> { [ e, E, U025B ] };
1988 key <AD08> { [ i, I, U026A ] };
1989 key <AC07> { [ j, J, U01F0 ] };
1990 key <AE06> { [ 6, asciicircum, U0295 ] };
1991 key <AC02> { [ s, S, U0161 ] };
1992 key <AB03> { [ c, C, U010D ] };
1993 key <AD09> { [ o, O, U0254 ] };
1994 key <AB09> { [ period, greater, U0323 ] };
1995
1996 include "level3(ralt_switch)"
1997 include "compose(rctrl)"
1998 };
1999
2000
2001 partial alphanumeric_keys
2002 xkb_symbols "sun_type6" {
2003 include "sun_vndr/us(sun_type6)"
2004 };
2005
2006 // Implementation of the 3l keyboard layout
2007 // See https://github.com/jackrosenthal/threelayout for specification
2008 partial alphanumeric_keys modifier_keys
2009 xkb_symbols "3l" {
2010 name[Group1] = "English (3l)";
2011
2012 key.type[Group1] = "ONE_LEVEL";
2013 key <TAB> { [ Escape ] };
2014 key <CAPS> { [ Tab ] };
2015 key <AC11> { [ ISO_Level3_Shift ] }; // Sym Modifier
2016 key <AB10> { [ ISO_Level5_Shift ] }; // Cur/Num Modifier
2017
2018 // Top row numbers - not part of spec, but given for convenience
2019 key <AE01> { [ 1 ] };
2020 key <AE02> { [ 2 ] };
2021 key <AE03> { [ 3 ] };
2022 key <AE04> { [ 4 ] };
2023 key <AE05> { [ 5 ] };
2024 key <AE06> { [ 6 ] };
2025 key <AE07> { [ 7 ] };
2026 key <AE08> { [ 8 ] };
2027 key <AE09> { [ 9 ] };
2028 key <AE10> { [ 0 ] };
2029
2030 // Main keys
2031 // Order of mods (defined by EIGHT_LEVEL_SEMIALPHABETIC) is:
2032 // [ None, Shift, Sym, Shift+Sym, Num, Shift+Num, Sym+Num, Shift+Sym+Num ]
2033 key.type[Group1] = "EIGHT_LEVEL_SEMIALPHABETIC";
2034
2035 // Second row
2036 key <AD01> { [ q, Q, quotedbl, Greek_omicron, Prior, Prior, U21CD, Greek_OMICRON ] };
2037 key <AD02> { [ f, F, underscore, Greek_phi, BackSpace, BackSpace, U21A4, Greek_PHI ] };
2038 key <AD03> { [ u, U, bracketleft, Greek_upsilon, Up, Up, U2191, Greek_UPSILON ] };
2039 key <AD04> { [ y, Y, bracketright, Greek_psi, Delete, Delete, U21A6, Greek_PSI ] };
2040 key <AD05> { [ z, Z, asciicircum, Greek_zeta, Next, Next, U21CF, Greek_ZETA ] };
2041 key <AD06> { [ x, X, exclam, Greek_xi, NoSymbol, NoSymbol, U2260, Greek_XI ] };
2042 key <AD07> { [ k, K, less, Greek_kappa, 1, A, U2A7D, Greek_KAPPA ] };
2043 key <AD08> { [ c, C, greater, Greek_chi, 2, B, U2A7E, Greek_CHI ] };
2044 key <AD09> { [ w, W, equal, Greek_omega, 3, C, U2261, Greek_OMEGA ] };
2045 key <AD10> { [ b, B, ampersand, Greek_beta, NoSymbol, NoSymbol, U2248, Greek_BETA ] };
2046
2047 // Home row
2048 key <AC01> { [ o, O, slash, Greek_omega, Home, Home, U21D0, Greek_OMEGA ] };
2049 key <AC02> { [ h, H, minus, Greek_theta, Left, Left, U2190, Greek_THETA ] };
2050 key <AC03> { [ e, E, braceleft, Greek_epsilon, Down, Down, U2193, Greek_EPSILON ] };
2051 key <AC04> { [ a, A, braceright, Greek_alpha, Right, Right, U2192, Greek_ALPHA ] };
2052 key <AC05> { [ i, I, asterisk, Greek_iota, End, End, U21D2, Greek_IOTA ] };
2053 key <AC06> { [ d, D, question, Greek_delta, period, colon, U2286, Greek_DELTA ] };
2054 key <AC07> { [ r, R, parenleft, Greek_rho, 4, D, U2227, Greek_RHO ] };
2055 key <AC08> { [ t, T, parenright, Greek_tau, 5, E, U2228, Greek_TAU ] };
2056 key <AC09> { [ n, N, apostrophe, Greek_eta, 6, F, U2200, Greek_ETA ] };
2057 key <AC10> { [ s, S, colon, Greek_sigma, NoSymbol, NoSymbol, U2203, Greek_SIGMA ] };
2058
2059 // Bottom row
2060 key <AB01> { [ comma, comma, numbersign, NoSymbol, slash, NoSymbol, U21AE, NoSymbol ] };
2061 key <AB02> { [ m, M, dollar, Greek_mu, asterisk, NoSymbol, U2194, Greek_MU ] };
2062 key <AB03> { [ period, period, bar, NoSymbol, minus, NoSymbol, U21CE, NoSymbol ] };
2063 key <AB04> { [ j, J, asciitilde, Greek_SIGMA, plus, NoSymbol, U21D4, NoSymbol ] };
2064 key <AB05> { [ semicolon, semicolon, grave, NoSymbol, comma, NoSymbol, U2282, NoSymbol ] };
2065 key <AB06> { [ g, G, plus, Greek_gamma, 0, NoSymbol, U2229, Greek_GAMMA ] };
2066 key <AB07> { [ l, L, percent, Greek_lambda, 7, parenleft, U222A, Greek_LAMBDA ] };
2067 key <AB08> { [ p, P, backslash, Greek_pi, 8, parenright, U2208, Greek_PI ] };
2068 key <AB09> { [ v, V, at, Greek_nu, 9, NoSymbol, U2209, Greek_NU ] };
2069
2070 include "level5(modifier_mapping)"
2071 };
2072
2073 // Chromebooks typically have the key which is normally in the caps
2074 // lock position mapped to keycode 133 (LWIN). For 3l, it is critical
2075 // that the key in this positon correspond to tab, so there is a
2076 // variant available for chromebook hardware.
2077 partial modifier_keys
2078 xkb_symbols "3l-cros" {
2079 include "us(3l)"
2080 name[Group1] = "English (3l, Chromebook)";
2081 key <LWIN> {
2082 type[Group1] = "ONE_LEVEL",
2083 symbols[Group1] = [ Tab ]
2084 };
2085 };
2086
2087 // A 3l variant for emacs users, which maps control to caps lock and (re)maps
2088 // tab back to tab.
2089 partial modifier_keys
2090 xkb_symbols "3l-emacs" {
2091 include "us(3l)"
2092 name[Group1] = "English (3l, emacs)";
2093
2094 key <TAB> { [ Tab ] };
2095 key <CAPS> { [ Control_L ] };
2096
2097 modifier_map Control { <CAPS> };
2098 };
2099
2100 // Drix EU Latin - version 3.1 (2019-10-07)
2101 // Author: Jerome Leclanche <jerome (a] leclan.ch>
2102 // Latin layout based on classic US qwerty, with azerty-style second-row m key.
2103 // Features:
2104 // - Programmer-centric punctuation keys (All common symbols on right hand except < and > on left)
2105 // - Most common dead accents on altgr-shift number row
2106 // - Unicode arrows on Altgr+shift+WASD
2107 // - Some commonly used special characters available:
2108 // - Most common european special characters
2109 // - Misc currency symbols, copyright/registered/trademark symbols
2110 // - Common math symbols + some common greek letters
2111 // - Compose key replaces Mod5
2112 //
2113 // This layout is in the Public Domain.
2114 //
2115 //
2116 // ~ ~ " ' ` ^ ^ ` 6 7 8 9 | _ = Backspace
2117 // @ 1 2 3 4 5 6 7 8 9 0 - " + '
2118 //
2119 // Tab Q W E R T Y U U I O P [ ]
2120 // q w w e r t y u u i o p ( { ) } Enter
2121 //
2122 // Caps A S D F G G H H J K L M M % &
2123 // Lock a s d f g g h h j k l m # ~ * $
2124 //
2125 // Shift > Z X C V V B N N ? , ; \ Shift
2126 // < z x c v b n ! . : ` / |
2127 //
2128 // Ctrl Fn Alt Space Nobreakspace AltGr Multi Ctxt Ctrl
2129 // Space Nobreakspace Menu
2130 //
2131
2132 partial alphanumeric_keys modifier_keys
2133 xkb_symbols "drix" {
2134
2135 name[Group1] = "English (Drix)";
2136
2137 // First row
2138 key <TLDE> {[ at, asciitilde, sterling, dead_tilde ]}; // @ ~ ~
2139 key <AE01> {[ 1, quotedbl, onesuperior, dead_grave ]}; // 1 " `
2140 key <AE02> {[ 2, apostrophe, twosuperior, dead_acute ]}; // 2 '
2141 key <AE03> {[ 3, asciicircum, threesuperior, dead_circumflex ]}; // 3 ^ ^
2142 key <AE04> {[ 4, grave, foursuperior, dead_diaeresis ]}; // 4 4
2143 key <AE05> {[ 5, degree, fivesuperior, dead_abovering ]}; // 5
2144 key <AE06> {[ 6, 6, sixsuperior, dead_macron ]}; // 6 6
2145 key <AE07> {[ 7, 7, sevensuperior, dead_cedilla ]}; // 7 7
2146 key <AE08> {[ 8, 8, eightsuperior, dead_ogonek ]}; // 8 8
2147 key <AE09> {[ 9, 9, ninesuperior, dead_caron ]}; // 9 9
2148 key <AE10> {[ 0, bar, zerosuperior, dead_doubleacute ]}; // 0 |
2149 key <AE11> {[ minus, underscore, quotedbl, plusminus ]}; // - _ "
2150 key <AE12> {[ plus, equal, apostrophe, notequal ]}; // + = '
2151
2152 // Second row
2153 key <AD01> {[ q, Q, oslash, Ooblique ]}; // q Q
2154 key <AD02> {[ w, W, w, uparrow ]}; // w W w
2155 key <AD03> {[ e, E, EuroSign, EuroSign ]}; // e E
2156 key <AD04> {[ r, R, registered, 0x10020bd ]}; // r R
2157 key <AD05> {[ t, T, trademark, Greek_tau ]}; // t T
2158 key <AD06> {[ y, Y, yen, yen ]}; // y Y
2159 key <AD07> {[ u, U, u, U ]}; // u U u U
2160 key <AD08> {[ i, I, leftsinglequotemark, rightsinglequotemark ]}; // i I
2161 key <AD09> {[ o, O, oe, Greek_OMEGA ]}; // o O
2162 key <AD10> {[ p, P, Greek_pi, 0x10020b1 ]}; // p P
2163 key <AD11> {[ parenleft, bracketleft, braceleft, guillemotleft ]}; // ( [ {
2164 key <AD12> {[ parenright, bracketright, braceright, guillemotright ]}; // ) ] }
2165
2166 // Third row
2167 key <AC01> {[ a, A, ae, leftarrow ]}; // a A
2168 key <AC02> {[ s, S, ssharp, downarrow ]}; // s S
2169 key <AC03> {[ d, D, Greek_DELTA, rightarrow ]}; // d D
2170 key <AC04> {[ f, F, 0x1000192, 0x1000191 ]}; // f F
2171 key <AC05> {[ g, G, g, G ]}; // g G g G
2172 key <AC06> {[ h, H, h, H ]}; // h H h H
2173 key <AC07> {[ j, J, leftdoublequotemark, rightdoublequotemark ]}; // j J
2174 key <AC08> {[ k, K, singlelowquotemark, doublelowquotemark ]}; // k K
2175 key <AC09> {[ l, L, sterling, Greek_lambda ]}; // l L
2176 key <AC10> {[ m, M, mu, M ]}; // m M M
2177 key <AC11> {[ numbersign, percent, asciitilde, 0x1002030 ]}; // # % ~
2178
2179 // Fourth row
2180 key <LSGT> {[ less, greater, lessthanequal, greaterthanequal ]}; // < >
2181 key <AB01> {[ z, Z, section, paragraph ]}; // z Z
2182 key <AB02> {[ x, X, multiply, division ]}; // x X
2183 key <AB03> {[ c, C, copyright, cent ]}; // c C
2184 key <AB04> {[ v, V, 0x1002640, V ]}; // v V V
2185 key <AB05> {[ b, B, 0x1002642, 0x10020bf ]}; // b B
2186 key <AB06> {[ n, N, 0x10026a5, N ]}; // n N N
2187 key <AB07> {[ exclam, question, exclamdown, questiondown ]}; // ! ?
2188 key <AB08> {[ period, comma, 0x1002026, periodcentered ]}; // . ,
2189 key <AB09> {[ colon, semicolon, grave, acute ]}; // : ; `
2190 key <AB10> {[ slash, backslash, bar, brokenbar ]}; // / \ |
2191
2192 // Next to the enter key
2193 key <BKSL> {[ asterisk, ampersand, dollar, multiply ]}; // * & $
2194
2195 // Rebind right Super (windows key) into a Compose key
2196 key <RWIN> {[ Multi_key ]};
2197
2198 // Implement AltGr and AltGr+Shift
2199 // For some reason, include "level3(ralt_switch)" doesn't do the trick.
2200 key <RALT> {
2201 type[Group1]="TWO_LEVEL",
2202 [ ISO_Level3_Shift, Multi_key ]
2203 };
2204 };
2205
2206 // German and Swedish characters added as third level symbols to the US keyboard layout
2207 // Author: Stephan Lachnit <stephanlachnit (a] protonmail.com>, 2019
2208 // the german umlauts are placed over the characters without diaeresis, the sharp-s over the s
2209 // the swedish ao is placed over the p, since it's closed to the position on a swedish keyboard
2210 // the euro sign is placed over the e, as it is usual for german and swedish keyboards
2211 partial alphanumeric_keys
2212 xkb_symbols "de_se_fi" {
2213
2214 include "us(basic)"
2215 include "eurosign(e)"
2216 name[Group1] = "German, Swedish and Finnish (US)";
2217
2218 key <AC01> {[ a, A, adiaeresis, Adiaeresis ]};
2219 key <AC02> {[ s, S, ssharp, U1E9E ]};
2220 key <AD01> {[ q, Q, at ]};
2221 key <AD07> {[ u, U, udiaeresis, Udiaeresis ]};
2222 key <AD09> {[ o, O, odiaeresis, Odiaeresis ]};
2223 key <AD10> {[ p, P, aring, Aring ]};
2224 key <AD12> {[ bracketright, braceright, asciitilde ]};
2225
2226 include "level3(ralt_switch)"
2227 };
2228