us revision 1.1.1.21 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 // phonetic layout for Russian letters on an US keyboard
617 // by Ivan Popov <pin (a] konvalo.org> 2005-07-17
618
619 // level3 modifier is a shortcut to the "us" meaning of the keys where
620 // we place cyrillic letters, handy for accessing the corresponding
621 // punctuation marks.
622 // It is important to have access to punctuation marks, and the rest of
623 // alphabetical keys are added for being consequent so that the users
624 // can expect the level3 modifier to give what the key label shows.
625
626 partial alphanumeric_keys
627 xkb_symbols "rus" {
628
629 include "us(basic)"
630 name[Group1]= "Russian (US, phonetic)";
631
632 key.type[group1]="FOUR_LEVEL_ALPHABETIC";
633
634 key <LatA> { [ Cyrillic_a, Cyrillic_A ] };
635 key <LatB> { [ Cyrillic_be, Cyrillic_BE ] };
636 key <LatW> { [ Cyrillic_ve, Cyrillic_VE ] };
637 key <LatG> { [ Cyrillic_ghe, Cyrillic_GHE ] };
638 key <LatD> { [ Cyrillic_de, Cyrillic_DE ] };
639 key <LatE> { [ Cyrillic_ie, Cyrillic_IE ] };
640 key <TLDE> { [ Cyrillic_io, Cyrillic_IO, grave, asciitilde ] };
641 key <LatV> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
642 key <LatZ> { [ Cyrillic_ze, Cyrillic_ZE ] };
643 key <LatI> { [ Cyrillic_i, Cyrillic_I ] };
644 key <LatJ> { [ Cyrillic_shorti, Cyrillic_SHORTI ] };
645 key <LatK> { [ Cyrillic_ka, Cyrillic_KA ] };
646 key <LatL> { [ Cyrillic_el, Cyrillic_EL ] };
647 key <LatM> { [ Cyrillic_em, Cyrillic_EM ] };
648 key <LatN> { [ Cyrillic_en, Cyrillic_EN ] };
649 key <LatO> { [ Cyrillic_o, Cyrillic_O ] };
650 key <LatP> { [ Cyrillic_pe, Cyrillic_PE ] };
651 key <LatR> { [ Cyrillic_er, Cyrillic_ER ] };
652 key <LatS> { [ Cyrillic_es, Cyrillic_ES ] };
653 key <LatT> { [ Cyrillic_te, Cyrillic_TE ] };
654 key <LatU> { [ Cyrillic_u, Cyrillic_U ] };
655 key <LatF> { [ Cyrillic_ef, Cyrillic_EF ] };
656 key <LatH> { [ Cyrillic_ha, Cyrillic_HA ] };
657 key <LatC> { [ Cyrillic_tse, Cyrillic_TSE ] };
658 key <AC10> { [ Cyrillic_che, Cyrillic_CHE, semicolon, colon ] };
659 key <AD11> { [ Cyrillic_sha, Cyrillic_SHA, bracketleft, braceleft] };
660 key <AD12> { [ Cyrillic_shcha, Cyrillic_SHCHA, bracketright, braceright ] };
661 key <AE12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN, equal, plus ] };
662 key <LatY> { [ Cyrillic_yeru, Cyrillic_YERU ] };
663 key <LatX> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
664 key <BKSL> { [ Cyrillic_e, Cyrillic_E, backslash, bar ] };
665 key <AC11> { [ Cyrillic_yu, Cyrillic_YU, apostrophe, quotedbl ] };
666 key <LatQ> { [ Cyrillic_ya, Cyrillic_YA ] };
667
668 include "level3(ralt_switch)"
669 };
670
671 partial alphanumeric_keys
672 xkb_symbols "mac" {
673
674 name[Group1]= "English (Macintosh)";
675
676 key.type[group1]="FOUR_LEVEL";
677
678 // Slightly improvised from http://homepage.mac.com/thgewecke/kblayout.jpg
679 key <LSGT> { [ section, plusminus, section, plusminus ] };
680 key <TLDE> { [ grave, asciitilde, dead_grave, dead_horn ] };
681 key <AE01> { [ 1, exclam, exclamdown, U2044 ] };
682 key <AE02> { [ 2, at, trademark, EuroSign ] };
683 key <AE03> { [ 3, numbersign, sterling, U2039 ] };
684 key <AE04> { [ 4, dollar, cent, U203A ] };
685 key <AE05> { [ 5, percent, infinity, UFB01 ] };
686 key <AE06> { [ 6,asciicircum, section, UFB02 ] };
687 key <AE07> { [ 7, ampersand, paragraph, doubledagger ] };
688 key <AE08> { [ 8, asterisk, enfilledcircbullet, degree ] };
689 key <AE09> { [ 9, parenleft, ordfeminine, periodcentered ] };
690 key <AE10> { [ 0, parenright, masculine,singlelowquotemark] };
691 key <AE11> { [ minus, underscore, endash, emdash ] };
692 key <AE12> { [ equal, plus, notequal, plusminus ] };
693
694 key <AD01> { [ q, Q, oe, OE ] };
695 key <AD02> { [ w, W, U2211,doublelowquotemark] };
696 key <AD03> { [ e, E, dead_acute, acute ] };
697 key <AD04> { [ r, R, registered, U2030 ] };
698 key <AD05> { [ t, T, dagger, dead_caron ] };
699 key <AD06> { [ y, Y, yen, onequarter ] };
700 key <AD07> { [ u, U, dead_diaeresis, diaeresis ] };
701 key <AD08> { [ i, I, dead_circumflex, U02C6 ] };
702 key <AD09> { [ o, O, oslash, Ooblique ] };
703 key <AD10> { [ p, P, Greek_pi, U220F ] };
704 key <AD11> { [ bracketleft, braceleft, leftdoublequotemark, rightdoublequotemark ] };
705 key <AD12> { [bracketright, braceright, leftsinglequotemark, rightsinglequotemark ] };
706 key <BKSL> { [ backslash, bar, guillemotleft, guillemotright ] };
707
708 key <AC01> { [ a, A, aring, Aring ] };
709 key <AC02> { [ s, S, ssharp, dead_stroke ] };
710 key <AC03> { [ d, D, partialderivative, eth ] };
711 key <AC04> { [ f, F, function, dead_hook ] };
712 key <AC05> { [ g, G, copyright, dead_doubleacute ] };
713 key <AC06> { [ h, H, dead_abovedot, dead_belowdot ] };
714 key <AC07> { [ j, J, U2206, onehalf ] };
715 key <AC08> { [ k, K,dead_abovering, UF8FF ] };
716 key <AC09> { [ l, L, notsign, THORN ] };
717 key <AC10> { [ semicolon, colon, U2026, thorn ] };
718 key <AC11> { [apostrophe, quotedbl, ae, AE ] };
719
720 key <AB01> { [ z, Z, Greek_OMEGA, dead_cedilla ] };
721 key <AB02> { [ x, X, U2248, dead_ogonek ] };
722 // unclear whether "approxeq" is 2248 or 2245
723 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
724 key <AB04> { [ v, V, squareroot, U25CA ] };
725 key <AB05> { [ b, B, integral, idotless ] };
726 key <AB06> { [ n, N, dead_tilde, U02DC ] };
727 key <AB07> { [ m, M, mu, threequarters ] };
728 key <AB08> { [ comma, less, lessthanequal, dead_macron ] };
729 key <AB09> { [ period, greater, greaterthanequal, dead_breve ] };
730 key <AB10> { [ slash, question, division, questiondown ] };
731
732 include "level3(ralt_switch)"
733 };
734
735 // Colemak symbols for xkb on X.Org Server 7.x
736 // 2006-01-01 Shai Coleman, http://colemak.com/
737
738 partial alphanumeric_keys
739 xkb_symbols "colemak" {
740
741 name[Group1]= "English (Colemak)";
742
743 key <TLDE> { [ grave, asciitilde, dead_tilde, asciitilde ] };
744 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
745 key <AE02> { [ 2, at, masculine, twosuperior ] };
746 key <AE03> { [ 3, numbersign, ordfeminine, threesuperior ] };
747 key <AE04> { [ 4, dollar, cent, sterling ] };
748 key <AE05> { [ 5, percent, EuroSign, yen ] };
749 key <AE06> { [ 6, asciicircum, hstroke, Hstroke ] };
750 key <AE07> { [ 7, ampersand, eth, ETH ] };
751 key <AE08> { [ 8, asterisk, thorn, THORN ] };
752 key <AE09> { [ 9, parenleft, leftsinglequotemark, leftdoublequotemark ] };
753 key <AE10> { [ 0, parenright, rightsinglequotemark, rightdoublequotemark ] };
754 key <AE11> { [ minus, underscore, endash, emdash ] };
755 key <AE12> { [ equal, plus, multiply, division ] };
756
757 key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] };
758 key <AD02> { [ w, W, aring, Aring ] };
759 key <AD03> { [ f, F, atilde, Atilde ] };
760 key <AD04> { [ p, P, oslash, Ooblique ] };
761 key <AD05> { [ g, G, dead_ogonek, asciitilde ] };
762 key <AD06> { [ j, J, dstroke, Dstroke ] };
763 key <AD07> { [ l, L, lstroke, Lstroke ] };
764 key <AD08> { [ u, U, uacute, Uacute ] };
765 key <AD09> { [ y, Y, udiaeresis, Udiaeresis ] };
766 key <AD10> { [ semicolon, colon, odiaeresis, Odiaeresis ] };
767 key <AD11> { [ bracketleft, braceleft, guillemotleft, 0x1002039 ] };
768 key <AD12> { [ bracketright, braceright, guillemotright, 0x100203a ] };
769 key <BKSL> { [ backslash, bar, asciitilde, asciitilde ] };
770
771 key <AC01> { [ a, A, aacute, Aacute ] };
772 key <AC02> { [ r, R, dead_grave, asciitilde ] };
773 key <AC03> { [ s, S, ssharp, 0x1001e9e ] };
774 key <AC04> { [ t, T, dead_acute, dead_doubleacute ] };
775 key <AC05> { [ d, D, dead_diaeresis, asciitilde ] };
776 key <AC06> { [ h, H, dead_caron, asciitilde ] };
777 key <AC07> { [ n, N, ntilde, Ntilde ] };
778 key <AC08> { [ e, E, eacute, Eacute ] };
779 key <AC09> { [ i, I, iacute, Iacute ] };
780 key <AC10> { [ o, O, oacute, Oacute ] };
781 key <AC11> { [ apostrophe, quotedbl, otilde, Otilde ] };
782
783 key <AB01> { [ z, Z, ae, AE ] };
784 key <AB02> { [ x, X, dead_circumflex, asciitilde ] };
785 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
786 key <AB04> { [ v, V, oe, OE ] };
787 key <AB05> { [ b, B, dead_breve, asciitilde ] };
788 key <AB06> { [ k, K, dead_abovering, asciitilde ] };
789 key <AB07> { [ m, M, dead_macron, asciitilde ] };
790 key <AB08> { [ comma, less, dead_cedilla, asciitilde ] };
791 key <AB09> { [ period, greater, dead_abovedot, asciitilde ] };
792 key <AB10> { [ slash, question, questiondown, asciitilde ] };
793
794 key <CAPS> { [ BackSpace, BackSpace, BackSpace, BackSpace ] };
795 key <LSGT> { [ minus, underscore, endash, emdash ] };
796 key <SPCE> { [ space, space, space, nobreakspace ] };
797
798 include "level3(ralt_switch)"
799 };
800
801
802 // Colemak-DH (ANSI) symbols for xkb on X.Org Server 7.x
803 // 2014-10-25 by SteveP, https://colemakmods.github.io/mod-dh/
804
805 xkb_symbols "colemak_dh" {
806
807 name[Group1]= "English (Colemak-DH)";
808
809 key <TLDE> { [ grave, asciitilde, dead_tilde, asciitilde ] };
810 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
811 key <AE02> { [ 2, at, masculine, twosuperior ] };
812 key <AE03> { [ 3, numbersign, ordfeminine, threesuperior ] };
813 key <AE04> { [ 4, dollar, cent, sterling ] };
814 key <AE05> { [ 5, percent, EuroSign, yen ] };
815 key <AE06> { [ 6, asciicircum, hstroke, Hstroke ] };
816 key <AE07> { [ 7, ampersand, eth, ETH ] };
817 key <AE08> { [ 8, asterisk, thorn, THORN ] };
818 key <AE09> { [ 9, parenleft, leftsinglequotemark, leftdoublequotemark ] };
819 key <AE10> { [ 0, parenright, rightsinglequotemark, rightdoublequotemark ] };
820 key <AE11> { [ minus, underscore, endash, emdash ] };
821 key <AE12> { [ equal, plus, multiply, division ] };
822
823 key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] };
824 key <AD02> { [ w, W, aring, Aring ] };
825 key <AD03> { [ f, F, atilde, Atilde ] };
826 key <AD04> { [ p, P, oslash, Ooblique ] };
827 key <AD05> { [ b, B, dead_breve, asciitilde ] };
828 key <AD06> { [ j, J, dstroke, Dstroke ] };
829 key <AD07> { [ l, L, lstroke, Lstroke ] };
830 key <AD08> { [ u, U, uacute, Uacute ] };
831 key <AD09> { [ y, Y, udiaeresis, Udiaeresis ] };
832 key <AD10> { [ semicolon, colon, odiaeresis, Odiaeresis ] };
833 key <AD11> { [ bracketleft, braceleft, guillemotleft, 0x1002039 ] };
834 key <AD12> { [ bracketright, braceright, guillemotright, 0x100203a ] };
835 key <BKSL> { [ backslash, bar, asciitilde, asciitilde ] };
836
837 key <AC01> { [ a, A, aacute, Aacute ] };
838 key <AC02> { [ r, R, dead_grave, asciitilde ] };
839 key <AC03> { [ s, S, ssharp, 0x1001e9e ] };
840 key <AC04> { [ t, T, dead_acute, dead_doubleacute ] };
841 key <AC05> { [ g, G, dead_ogonek, asciitilde ] };
842 key <AC06> { [ m, M, dead_macron, asciitilde ] };
843 key <AC07> { [ n, N, ntilde, Ntilde ] };
844 key <AC08> { [ e, E, eacute, Eacute ] };
845 key <AC09> { [ i, I, iacute, Iacute ] };
846 key <AC10> { [ o, O, oacute, Oacute ] };
847 key <AC11> { [ apostrophe, quotedbl, otilde, Otilde ] };
848
849 key <LSGT> { [ z, Z, ae, AE ] };
850 key <AB01> { [ x, X, dead_circumflex, asciitilde ] };
851 key <AB02> { [ c, C, ccedilla, Ccedilla ] };
852 key <AB03> { [ d, D, dead_diaeresis, asciitilde ] };
853 key <AB04> { [ v, V, oe, OE ] };
854 key <AB05> { [ z, Z, ae, AE ] }; //Z appears here too because <LSGT> key is not present on ANSI keyboards
855 key <AB06> { [ k, K, dead_abovering, asciitilde ] };
856 key <AB07> { [ h, H, dead_caron, asciitilde ] };
857 key <AB08> { [ comma, less, dead_cedilla, asciitilde ] };
858 key <AB09> { [ period, greater, dead_abovedot, asciitilde ] };
859 key <AB10> { [ slash, question, questiondown, asciitilde ] };
860
861 key <SPCE> { [ space, space, space, nobreakspace ] };
862
863 include "level3(ralt_switch)"
864 };
865
866 // Colemak-DH (ISO) symbols for xkb on X.Org Server 7.x
867 // https://colemakmods.github.io/mod-dh/
868
869 xkb_symbols "colemak_dh_iso" {
870
871 include "us(colemak_dh)"
872 name[Group1]= "English (Colemak-DH ISO)";
873
874 key <AB05> { [ backslash, bar, asciitilde, brokenbar] };
875
876 include "level3(ralt_switch)"
877 };
878
879 // I do NOT like dead-keys - the International keyboard as defined by Microsoft
880 // does not fit my needs. Why use two keystrokes for all simple characters (eg '
881 // and <space> generates a single ') just to have an (eacute) in two strokes
882 // as well? I type ' more often than (eacute).
883 //
884 // This file works just like a regular keyboard, BUT has all dead-keys
885 // accessible at level3 (through AltGr). An (ediaeresis) is now: AltGr+"
886 // followed by an e. In other words, this keyboard is not international as long
887 // as you leave the right Alt key alone.
888 //
889 // The original MS International keyboard was intended for Latin1 (iso8859-1).
890 // With the introduction of iso8859-15, the (important) ligature oe (and OE)
891 // became available. I added them next to ae. Because I write ediaeresis more
892 // often than registered, I moved registered to be next to copyright and added
893 // ediaeresis and idiaeresis. - Adriaan
894
895 partial alphanumeric_keys
896 xkb_symbols "altgr-intl" {
897
898 include "us(intl)"
899 name[Group1]= "English (intl., with AltGr dead keys)";
900
901 // five dead keys moved into level3:
902
903 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
904 key <AC11> { [apostrophe,quotedbl, dead_acute, dead_diaeresis ] };
905
906 // diversions from the MS Intl keyboard:
907
908 key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
909 key <AD04> { [ r, R, ediaeresis, Ediaeresis ] };
910 key <AC07> { [ j, J, idiaeresis, Idiaeresis ] };
911 key <AB02> { [ x, X, oe, OE ] };
912 key <AB04> { [ v, V, registered, registered ] };
913
914 // onequarter etc (not in iso8859-15) moved to get three unshifted deadkeys:
915
916 key <AE06> { [ 6, asciicircum, dead_circumflex, onequarter ] };
917 key <AE07> { [ 7, ampersand, dead_horn, onehalf ] };
918 key <AE08> { [ 8, asterisk, dead_ogonek, threequarters ] };
919
920 include "level3(ralt_switch)"
921 };
922
923 // Intel ClassmatePC Keyboard Layout
924 // by Piter PUNK <piterpk (a] terra.com.br>
925 //
926 // The keyboard layouts below maps the us(basic), us(intl) and us(alt-intl)
927 // to ClassmatePC keyboard. All layouts uses RCTL as level3(switch) since
928 // the keyboard does not have AltGr key. The EuroSign is engraved at 5 key.
929
930 // classmate - us(basic)
931 partial alphanumeric_keys
932 xkb_symbols "classmate" {
933 include "us(basic)"
934 name[Group1]= "English (US)";
935
936 key <LSGT> { [ backslash, bar, backslash, bar ] };
937
938 include "eurosign(5)"
939 include "level3(switch)"
940 };
941
942 // classmate-intl - us(intl)
943 // RCTL is generated by Fn+Alt, because of that, when trying to access
944 // the level3 symbols at 7,8,9,0, u,i,o,p, j,k,l,;, and m,.,/, we get
945 // the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key>
946 // generate the same symbol as the original key.
947 partial alphanumeric_keys
948 xkb_symbols "classmate-intl" {
949 include "us(intl)"
950 name[Group1]= "USA - ClassmatePC (International)";
951 key.type[Group1]="FOUR_LEVEL";
952
953 key <LSGT> { [ backslash, bar, backslash, bar ] };
954
955 key <KP7> { [ KP_Home, KP_7, onehalf, dead_horn ] };
956 key <KP8> { [ KP_Up, KP_8, threequarters, dead_ogonek ] };
957 key <KP9> { [ KP_Prior, KP_9, leftsinglequotemark, dead_breve ] };
958 key <KPMU> { [ KP_Multiply, KP_Multiply, rightsinglequotemark, dead_abovering ] };
959
960 key <KP4> { [ KP_Left, KP_4, uacute, Uacute ] };
961 key <KP5> { [ KP_Begin, KP_5, iacute, Iacute ] };
962 key <KP6> { [ KP_Right, KP_6, oacute, Oacute ] };
963 key <KPSU> { [ KP_Subtract, KP_Subtract, odiaeresis, Odiaeresis ] };
964
965 key <KP2> { [ KP_Down, KP_2, oe, OE ] };
966 key <KP3> { [ KP_Next, KP_3, oslash, Ooblique ] };
967 key <KPAD> { [ KP_Add, KP_Add, paragraph, degree ] };
968
969 key <KP0> { [ KP_Insert, KP_0, mu, mu ] };
970 key <KPDL> { [ KP_Delete, KP_Decimal, dead_abovedot, dead_caron ] };
971 key <KPDV> { [ KP_Divide, KP_Divide, questiondown, dead_hook ] };
972
973 include "level3(switch)"
974 };
975
976 // classmate-alt-intl - us(alt-intl)
977 // RCTL is generated by Fn+Alt, because of that, when trying to access
978 // the level3 symbols at 7,8,9,0, u,i,o,p, j,k,l,;, and m,.,/, we get
979 // the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key>
980 // generate the same symbol as the original key.
981 partial alphanumeric_keys
982 xkb_symbols "classmate-alt-intl" {
983 include "us(alt-intl)"
984 name[Group1]= "USA - ClassmatePC (Alternative international)";
985 key.type[Group1]="FOUR_LEVEL";
986
987 key <LSGT> { [ backslash, bar, backslash, bar ] };
988
989 key <KPSU> { [ KP_Subtract, KP_Subtract ] };
990
991 key <KP9> { [ KP_Prior, KP_9, leftsinglequotemark, dead_breve ] };
992 key <KPMU> { [ KP_Multiply, KP_Multiply, rightsinglequotemark, dead_abovering ] };
993
994 key <KPAD> { [ KP_Add, KP_Add, dead_ogonek, dead_diaeresis ] };
995
996 key <KPDL> { [ KP_Delete, KP_Decimal, dead_abovedot, dead_circumflex] };
997 key <KPDV> { [ KP_Divide, KP_Divide, dead_hook, dead_hook ] };
998
999 include "level3(switch)"
1000 };
1001
1002 // classmate-altgr-intl - us(altgr-intl)
1003 // RCTL is generated by Fn+Alt, because of that, when trying to access
1004 // the level3 symbols at 7,8,9,0, u,i,o,p, j,k,l,;, and m,.,/, we get
1005 // the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key>
1006 // generate the same symbol as the original key.
1007 partial alphanumeric_keys
1008 xkb_symbols "classmate-altgr-intl" {
1009 include "us(altgr-intl)"
1010 name[Group1]= "USA - ClassmatePC (International Fn+Alt dead-keys)";
1011 key.type[Group1]="FOUR_LEVEL";
1012
1013 key <LSGT> { [ backslash, bar, backslash, bar ] };
1014
1015 key <KP7> { [ KP_Home, KP_7, dead_horn, dead_horn ] };
1016 key <KP8> { [ KP_Up, KP_8, dead_ogonek, dead_ogonek ] };
1017 key <KP9> { [ KP_Prior, KP_9, leftsinglequotemark, dead_breve ] };
1018 key <KPMU> { [ KP_Multiply, KP_Multiply, rightsinglequotemark, dead_abovering ] };
1019
1020 key <KP4> { [ KP_Left, KP_4, uacute, Uacute ] };
1021 key <KP5> { [ KP_Begin, KP_5, iacute, Iacute ] };
1022 key <KP6> { [ KP_Right, KP_6, oacute, Oacute ] };
1023 key <KPSU> { [ KP_Subtract, KP_Subtract, odiaeresis, Odiaeresis ] };
1024
1025 key <KP1> { [ KP_End, KP_1, idiaeresis, Idiaeresis ] };
1026 key <KP2> { [ KP_Down, KP_2, oe, OE ] };
1027 key <KP3> { [ KP_Next, KP_3, oslash, Ooblique ] };
1028 key <KPAD> { [ KP_Add, KP_Add, paragraph, degree ] };
1029
1030 key <KP0> { [ KP_Insert, KP_0, mu, mu ] };
1031 key <KPDL> { [ KP_Delete, KP_Decimal, dead_abovedot, dead_caron ] };
1032 key <KPDV> { [ KP_Divide, KP_Divide, questiondown, dead_hook ] };
1033
1034 include "level3(switch)"
1035 };
1036
1037 partial alphanumeric_keys
1038 xkb_symbols "olpc" {
1039
1040 include "us(basic)"
1041 name[Group1]= "English (US)";
1042
1043 // OLPC international US English keyboard layout.
1044 // It's a little different from the usual international layout.
1045 // See: http://wiki.laptop.org/go/Image:Keyboard_english.png
1046
1047 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
1048 key <AE01> { [ 1, exclam, exclamdown, exclamdown ] };
1049 key <AE02> { [ 2, at, notsign, notsign ] };
1050 key <AE03> { [ 3, numbersign, 0x1000300, 0x1000300 ] }; // combining grave
1051 key <AE04> { [ 4, dollar, 0x1000301, 0x1000301 ] }; // combining acute
1052 key <AE05> { [ 5, percent, 0x1000306, 0x1000306 ] }; // combining breve above
1053 key <AE06> { [ 6,asciicircum, 0x100030A, 0x100030A ] }; // combining ring above
1054 key <AE07> { [ 7, ampersand, 0x1000302, 0x1000302 ] }; // combining circumflex above
1055 key <AE08> { [ 8, asterisk, 0x100030C, 0x100030C ] }; // combining caron above
1056 key <AE09> { [ 9, parenleft, 0x1000307, 0x1000307 ] }; // combining dot above
1057 key <AE10> { [ 0, parenright, 0x1000308, 0x1000308 ] }; // combining diaeresis above
1058 key <AE11> { [ minus, underscore, 0x1000304, 0x1000304 ] }; // combining macron above
1059 key <AE12> { [ equal, plus, 0x1000303, 0x1000303 ] }; // combining tilde above
1060
1061 key <AD01> { [ q, Q, Greek_omega, Greek_OMEGA ] };
1062 key <AD02> { [ w, W, oslash, Oslash ] };
1063 key <AD03> { [ e, E, oe, OE ] };
1064 key <AD04> { [ r, R, 0x1000327, 0x1000327 ] }; // combining cedilla
1065 key <AD05> { [ t, T, 0x100032E, 0x100032E ] }; // combining breve below
1066 key <AD06> { [ y, Y, 0x1000325, 0x1000325 ] }; // combining ring below
1067 key <AD07> { [ u, U, 0x100032D, 0x100032D ] }; // combining circumflex below
1068 key <AD08> { [ i, I, 0x100032C, 0x100032C ] }; // combining caron below
1069 key <AD09> { [ o, O, 0x1000323, 0x1000323 ] }; // combining dot below
1070 key <AD10> { [ p, P, 0x1000324, 0x1000324 ] }; // combining diaeresis below
1071 key <AD11> { [ bracketleft, braceleft, 0x1000331, 0x1000331 ] }; // combining macron below
1072 key <AD12> { [bracketright, braceright, 0x1000330, 0x1000330 ] }; // combining tilde below
1073
1074 key <AC01> { [ a, A, ae, AE ] };
1075 key <AC02> { [ s, S, ssharp, 0x1001E9E ] }; // uppercase S sharp
1076 key <AC03> { [ d, D, eth, ETH ] };
1077 key <AC04> { [ f, F, thorn, THORN ] };
1078 key <AC06> { [ h, H, sterling, sterling ] };
1079 key <AC07> { [ j, J, EuroSign, EuroSign ] };
1080 key <AC10> { [ semicolon, colon, masculine, ordfeminine ] };
1081 key <AC11> { [ apostrophe, quotedbl, currency, currency ] };
1082 key <AC12> { [ backslash, bar, section, section ] };
1083
1084 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
1085 key <AB06> { [ n, N, ntilde, Ntilde ] };
1086 key <AB07> { [ m, M, mu, mu ] };
1087 key <AB08> { [ comma, less, guillemotleft, guillemotleft ] };
1088 key <AB09> { [ period, greater, guillemotright, guillemotright ] };
1089 key <AB10> { [ slash, question, questiondown, questiondown ] };
1090
1091 key <I219> { [ multiply, division, ISO_Next_Group, ISO_Prev_Group ] };
1092
1093 include "level3(ralt_switch)"
1094 };
1095
1096 partial alphanumeric_keys
1097 xkb_symbols "olpc2" {
1098 include "us(olpc)"
1099 name[Group1]= "English (the divide/multiply toggle the layout)";
1100 include "group(olpc)"
1101 };
1102
1103 xkb_symbols "olpcm" {
1104
1105 include "us(basic)"
1106 name[Group1]= "English (US)";
1107
1108 // Mechanical (non-membrane) OLPC int'l US English keyboard layout.
1109 // See: http://wiki.laptop.org/go/OLPC_English_Non-membrane_Keyboard
1110
1111 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
1112 key <AE01> { [ 1, exclam, exclamdown, exclamdown ] };
1113 key <AE02> { [ 2, at, notsign, notsign ] };
1114 key <AE03> { [ 3, numbersign, 0x1000300, 0x1000300 ] }; // combining grave
1115 key <AE04> { [ 4, dollar, 0x1000301, 0x1000301 ] }; // combining acute
1116 key <AE05> { [ 5, percent, 0x1000306, 0x1000306 ] }; // combining breve above
1117 key <AE06> { [ 6,asciicircum, 0x100030A, 0x100030A ] }; // combining ring above
1118 key <AE07> { [ 7, ampersand, 0x1000302, 0x1000302 ] }; // combining circumflex above
1119 key <AE08> { [ 8, asterisk, 0x100030C, 0x100030C ] }; // combining caron above
1120 key <AE09> { [ 9, parenleft, 0x1000307, 0x1000307 ] }; // combining dot above
1121 key <AE10> { [ 0, parenright, 0x1000308, 0x1000308 ] }; // combining diaeresis above
1122 key <AE11> { [ minus, underscore, 0x1000304, 0x1000304 ] }; // combining macron 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 // no AC11 or AC12 on olpcm
1145
1146 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
1147 key <AB06> { [ n, N, ntilde, Ntilde ] };
1148 key <AB07> { [ m, M, mu, mu ] };
1149 key <AB08> { [ comma, less, guillemotleft, guillemotleft ] };
1150 key <AB09> { [ period, greater, guillemotright, guillemotright ] };
1151 key <AB10> { [ slash, question, questiondown, questiondown ] };
1152
1153 key <AA02> { [ backslash, bar, section, section ] };
1154 key <AA06> { [ equal, plus, 0x1000303, 0x1000303 ] };
1155 key <AA07> { [ apostrophe, quotedbl, currency, currency ] };
1156
1157 include "level3(ralt_switch)"
1158 };
1159
1160 // Based on Cherokee Nation Official Layout
1161 // http://www.cherokee.org/extras/downloads/font/Keyboard.htm
1162
1163 partial alphanumeric_keys modifier_keys
1164 xkb_symbols "chr" {
1165
1166 name[Group1]= "Cherokee";
1167 key.type[group1]="ALPHABETIC";
1168
1169 key <TLDE> { [ grave, U13CA ] };
1170 key <AE01> { [ 1, U13B1 ] };
1171 key <AE02> { [ 2, U13C7 ] };
1172 key <AE03> { [ 3, U13E7 ] };
1173 key <AE04> { [ U13D9, U13B0 ] };
1174 key <AE05> { [ U13E6, U13B9 ] };
1175 key <AE06> { [ U13DC, U13DD ] };
1176 key <AE07> { [ U13CB, U13E1 ] };
1177 key <AE08> { [ U13D6, U13BA ] };
1178 key <AE09> { [ U13D2, parenleft ] };
1179 key <AE10> { [ U13C4, parenright ] };
1180 key <AE11> { [ U13BF, U13BC ] };
1181 key <AE12> { [ U13F3, U13BD ] };
1182
1183 key <AD01> { [ U13AA, U13C6 ] };
1184 key <AD02> { [ U13B3, U13EB ] };
1185 key <AD03> { [ U13A1, U13E3 ] };
1186 key <AD04> { [ U13DB, U13CF ] };
1187 key <AD05> { [ U13D4, U13D8 ] };
1188 key <AD06> { [ U13EF, U13F2 ] };
1189 key <AD07> { [ U13A4, U13AD ] };
1190 key <AD08> { [ U13A2, U13F1 ] };
1191 key <AD09> { [ U13A3, U13EC ] };
1192 key <AD10> { [ U13C1, U13EA ] };
1193 key <AD11> { [ U13D5, U13D1 ] };
1194 key <AD12> { [ U13B6, U13E4 ] };
1195 key <BKSL> { [ U13E9, U13EE ] };
1196
1197 key <AC01> { [ U13A0, U13CC ] };
1198 key <AC02> { [ U13CD, U13CE ] };
1199 key <AC03> { [ U13D7, U13D0 ] };
1200 key <AC04> { [ U13A9, U13C8 ] };
1201 key <AC05> { [ U13A6, U13E5 ] };
1202 key <AC06> { [ U13AF, U13B2 ] };
1203 key <AC07> { [ U13DA, U13AB ] };
1204 key <AC08> { [ U13B8, U13A7 ] };
1205 key <AC09> { [ U13B5, U13AE ] };
1206 key <AC10> { [ U13E8, U13E0 ] };
1207 key <AC11> { [ apostrophe, quotedbl ] };
1208
1209 key <AB01> { [ U13AC, U13C3 ] };
1210 key <AB02> { [ U13F4, U13ED ] };
1211 key <AB03> { [ U13D3, U13DF ] };
1212 key <AB04> { [ U13A5, U13DE ] };
1213 key <AB05> { [ U13A8, U13F0 ] };
1214 key <AB06> { [ U13BE, U13BB ] };
1215 key <AB07> { [ U13C5, U13B7 ] };
1216 key <AB08> { [ comma, U13E2 ] };
1217 key <AB09> { [ period, U13B4 ] };
1218 key <AB10> { [ U13C2, U13C9 ] };
1219 };
1220
1221 // Add Hawaiian `okina and kahako to US layout
1222 // Author: Greg Meyer <gregory.meyer (a] gmail.com>, 2020
1223 // this mapping follows the one for Windows here: http://www.olelo.hawaii.edu/enehana/winkbd.php
1224 // `okina replaces apostrophe (apostrophe moves to level 3)
1225 // vowels with kahako (macron) are level 3 symbols
1226 partial alphanumeric_keys
1227 xkb_symbols "haw" {
1228
1229 include "us(basic)"
1230 name[Group1] = "Hawaiian";
1231
1232 // `okina replaces single apostrophe
1233 // alt gives the literal apostrophe
1234 key <AC11> {[ U02BB, quotedbl, apostrophe ] };
1235
1236 // kahako
1237 key <AC01> {[ a, A, amacron, Amacron ]};
1238 key <AD03> {[ e, E, emacron, Emacron ]};
1239 key <AD07> {[ u, U, umacron, Umacron ]};
1240 key <AD08> {[ i, I, imacron, Imacron ]};
1241 key <AD09> {[ o, O, omacron, Omacron ]};
1242
1243 include "level3(ralt_switch)"
1244 };
1245
1246 // Serbian charecters added as third level symbols to US keyboard layout.
1247
1248 partial alphanumeric_keys
1249 xkb_symbols "hbs" {
1250
1251 include "us"
1252 name[Group1]= "Serbo-Croatian (US)";
1253
1254 key <TLDE> { [ grave, asciitilde ] };
1255 key <AE06> { [ 6, dead_caron, asciicircum, asciicircum ] };
1256 key <AE08> { [ 8, asterisk, multiply, division ] };
1257 key <AE11> { [ minus, underscore, endash, emdash ] };
1258 key <AC09> { [ l, L, U1C9, U1C8 ] };
1259 key <AB06> { [ n, N, U1CC, U1CB ] };
1260 key <AB01> { [ z, Z, U1C6, U1C5 ] };
1261 key <AD03> { [ e, E, EuroSign, cent ] };
1262 key <AC03> { [ d, D, dstroke, Dstroke ] };
1263 key <AC11> { [ dead_acute, quotedbl, apostrophe, apostrophe ] };
1264 key <SPCE> { [ space, space, nobreakspace, nobreakspace ] };
1265 key <AB08> { [ comma, less, U3003, guillemotright ] };
1266 key <AB09> { [ period, greater, ellipsis, guillemotleft ] };
1267
1268 include "level3(ralt_switch)"
1269 };
1270
1271 // Workman Keyboard Layout symbols for xkb on X.Org Server 7.x
1272 // 09-06-2010 OJ Bucao. http://www.workmanlayout.com
1273
1274 partial alphanumeric_keys
1275 xkb_symbols "workman" {
1276
1277 include "us(basic)"
1278 name[Group1]= "English (Workman)";
1279
1280 key <AD01> { [ q, Q ] };
1281 key <AD02> { [ d, D ] };
1282 key <AD03> { [ r, R ] };
1283 key <AD04> { [ w, W ] };
1284 key <AD05> { [ b, B ] };
1285 key <AD06> { [ j, J ] };
1286 key <AD07> { [ f, F ] };
1287 key <AD08> { [ u, U ] };
1288 key <AD09> { [ p, P ] };
1289 key <AD10> { [ semicolon, colon ] };
1290
1291 key <AC01> { [ a, A ] };
1292 key <AC02> { [ s, S ] };
1293 key <AC03> { [ h, H ] };
1294 key <AC04> { [ t, T ] };
1295 key <AC05> { [ g, G ] };
1296 key <AC06> { [ y, Y ] };
1297 key <AC07> { [ n, N ] };
1298 key <AC08> { [ e, E ] };
1299 key <AC09> { [ o, O ] };
1300 key <AC10> { [ i, I ] };
1301
1302 key <AB01> { [ z, Z ] };
1303 key <AB02> { [ x, X ] };
1304 key <AB03> { [ m, M ] };
1305 key <AB04> { [ c, C ] };
1306 key <AB05> { [ v, V ] };
1307 key <AB06> { [ k, K ] };
1308 key <AB07> { [ l, L ] };
1309
1310 key <CAPS> { [ BackSpace, Escape, BackSpace, BackSpace ] };
1311
1312 include "level3(ralt_switch)"
1313 };
1314
1315 partial alphanumeric_keys
1316 xkb_symbols "workman-intl" {
1317
1318 include "us(intl)"
1319 name[Group1]= "English (Workman, intl., with dead keys)";
1320
1321 key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] };
1322 key <AD02> { [ d, D, eth, ETH ] };
1323 key <AD03> { [ r, R, registered, registered ] };
1324 key <AD04> { [ w, W, aring, Aring ] };
1325 key <AD05> { [ b, B, b, B ] };
1326 key <AD06> { [ j, J, j, J ] };
1327 key <AD07> { [ f, F, f, F ] };
1328 key <AD08> { [ u, U, uacute, Uacute ] };
1329 key <AD09> { [ p, P, odiaeresis, Odiaeresis ] };
1330 key <AD10> { [ semicolon, colon, paragraph, degree ] };
1331
1332 key <AC01> { [ a, A, aacute, Aacute ] };
1333 key <AC02> { [ s, S, ssharp, section ] };
1334 key <AC03> { [ h, H, h, H ] };
1335 key <AC04> { [ t, T, thorn, THORN ] };
1336 key <AC05> { [ g, G, g, G ] };
1337 key <AC06> { [ y, Y, udiaeresis, Udiaeresis ] };
1338 key <AC07> { [ n, N, ntilde, Ntilde ] };
1339 key <AC08> { [ e, E, eacute, Eacute ] };
1340 key <AC09> { [ o, O, oacute, Oacute ] };
1341 key <AC10> { [ i, I, iacute, Iacute ] };
1342
1343 key <AB01> { [ z, Z, ae, AE ] };
1344 key <AB02> { [ x, X, x, X ] };
1345 key <AB03> { [ m, M, mu, mu ] };
1346 key <AB04> { [ c, C, copyright, cent ] };
1347 key <AB05> { [ v, V, v, V ] };
1348 key <AB06> { [ k, K, oe, OE ] };
1349 key <AB07> { [ l, L, oslash, Ooblique ] };
1350
1351 key <CAPS> { [ BackSpace, Escape, BackSpace, BackSpace ] };
1352
1353 include "level3(ralt_switch)"
1354 };
1355
1356 // Norman keyboard layout symbols for xkb on X.Org Server 7.x
1357 // Written 11/23/2012, revised 3/7/2013 by David Norman http://normanlayout.info
1358 // To the extent possible under law, the author(s) have dedicated all
1359 // copyright and related and neighboring rights to this software to the
1360 // public domain worldwide. This software is distributed without any warranty.
1361
1362 partial alphanumeric_keys
1363 xkb_symbols "norman" {
1364
1365 include "us(basic)"
1366 name[Group1]= "English (Norman)";
1367
1368 key <AD01> { [ q, Q ] };
1369 key <AD02> { [ w, W ] };
1370 key <AD03> { [ d, D ] };
1371 key <AD04> { [ f, F ] };
1372 key <AD05> { [ k, K ] };
1373 key <AD06> { [ j, J ] };
1374 key <AD07> { [ u, U ] };
1375 key <AD08> { [ r, R ] };
1376 key <AD09> { [ l, L ] };
1377 key <AD10> { [ semicolon, colon ] };
1378
1379 key <AC01> { [ a, A ] };
1380 key <AC02> { [ s, S ] };
1381 key <AC03> { [ e, E ] };
1382 key <AC04> { [ t, T ] };
1383 key <AC05> { [ g, G ] };
1384 key <AC06> { [ y, Y ] };
1385 key <AC07> { [ n, N ] };
1386 key <AC08> { [ i, I ] };
1387 key <AC09> { [ o, O ] };
1388 key <AC10> { [ h, H ] };
1389
1390 key <AB01> { [ z, Z ] };
1391 key <AB02> { [ x, X ] };
1392 key <AB03> { [ c, C ] };
1393 key <AB04> { [ v, V ] };
1394 key <AB05> { [ b, B ] };
1395 key <AB06> { [ p, P ] };
1396 key <AB07> { [ m, M ] };
1397
1398 key <CAPS> { [ BackSpace ] };
1399
1400 include "level3(ralt_switch)"
1401 };
1402
1403 // Carpalx layout created by Martin Krzywinski
1404 // http://mkweb.bcgsc.ca/carpalx/
1405
1406 partial alphanumeric_keys
1407 xkb_symbols "carpalx" {
1408
1409 name[Group1]= "English (Carpalx)";
1410
1411 key <TLDE> { [ grave, asciitilde ] };
1412 key <AE01> { [ 1, exclam ] };
1413 key <AE02> { [ 2, at ] };
1414 key <AE03> { [ 3, numbersign ] };
1415 key <AE04> { [ 4, dollar ] };
1416 key <AE05> { [ 5, percent ] };
1417 key <AE06> { [ 6, asciicircum ] };
1418 key <AE07> { [ 7, ampersand ] };
1419 key <AE08> { [ 8, asterisk ] };
1420 key <AE09> { [ 9, parenleft ] };
1421 key <AE10> { [ 0, parenright ] };
1422 key <AE11> { [ minus, underscore ] };
1423 key <AE12> { [ equal, plus ] };
1424
1425 key <AD01> { [ q, Q ] };
1426 key <AD02> { [ g, G ] };
1427 key <AD03> { [ m, M ] };
1428 key <AD04> { [ l, L ] };
1429 key <AD05> { [ w, W ] };
1430 key <AD06> { [ y, Y ] };
1431 key <AD07> { [ f, F ] };
1432 key <AD08> { [ u, U ] };
1433 key <AD09> { [ b, B ] };
1434 key <AD10> { [ semicolon, colon ] };
1435 key <AD11> { [ bracketleft, braceleft ] };
1436 key <AD12> { [ bracketright, braceright ] };
1437
1438 key <AC01> { [ d, D ] };
1439 key <AC02> { [ s, S ] };
1440 key <AC03> { [ t, T ] };
1441 key <AC04> { [ n, N ] };
1442 key <AC05> { [ r, R ] };
1443 key <AC06> { [ i, I ] };
1444 key <AC07> { [ a, A ] };
1445 key <AC08> { [ e, E ] };
1446 key <AC09> { [ o, O ] };
1447 key <AC10> { [ h, H ] };
1448 key <AC11> { [ apostrophe, quotedbl ] };
1449
1450 key <AB01> { [ z, Z ] };
1451 key <AB02> { [ x, X ] };
1452 key <AB03> { [ c, C ] };
1453 key <AB04> { [ v, V ] };
1454 key <AB05> { [ j, J ] };
1455 key <AB06> { [ k, K ] };
1456 key <AB07> { [ p, P ] };
1457 key <AB08> { [ comma, less ] };
1458 key <AB09> { [ period, greater ] };
1459 key <AB10> { [ slash, question ] };
1460
1461 key <BKSL> { [ backslash, bar ] };
1462 };
1463
1464 // Carpalx layout created by Martin Krzywinski
1465 // http://mkweb.bcgsc.ca/carpalx/
1466 // Merged with us(intl) and modified to move
1467 // accented vowels closer to the plain vowels
1468
1469 partial alphanumeric_keys
1470 xkb_symbols "carpalx-intl" {
1471
1472 name[Group1]= "English (Carpalx, intl., with dead keys)";
1473
1474 key <TLDE> { [dead_grave, dead_tilde, grave, asciitilde ] };
1475 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
1476 key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] };
1477 key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] };
1478 key <AE04> { [ 4, dollar, currency, sterling ] };
1479 key <AE05> { [ 5, percent, EuroSign, dead_cedilla ] };
1480 key <AE06> { [ 6, dead_circumflex, onequarter, asciicircum ] };
1481 key <AE07> { [ 7, ampersand, onehalf, dead_horn ] };
1482 key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] };
1483 key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] };
1484 key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] };
1485 key <AE11> { [ minus, underscore, yen, dead_belowdot ] };
1486 key <AE12> { [ equal, plus, multiply, division ] };
1487
1488 key <AD01> { [ q, Q, degree, paragraph ] };
1489 key <AD02> { [ g, G, U011F, U011E ] };
1490 key <AD03> { [ m, M, mu, mu ] };
1491 key <AD04> { [ l, L, copyright, cent ] };
1492 key <AD05> { [ w, W, w, W ] };
1493 key <AD06> { [ y, Y, idiaeresis, Idiaeresis ] };
1494 key <AD07> { [ f, F, adiaeresis, Adiaeresis ] };
1495 key <AD08> { [ u, U, udiaeresis, Udiaeresis ] };
1496 key <AD09> { [ b, B, odiaeresis, Odiaeresis ] };
1497 key <AD10> { [ semicolon, colon, oslash, Ooblique ] };
1498 key <AD11> { [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ] };
1499 key <AD12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] };
1500
1501 key <AC01> { [ d, D, eth, ETH ] };
1502 key <AC02> { [ s, S, ssharp, section ] };
1503 key <AC03> { [ t, T, thorn, THORN ] };
1504 key <AC04> { [ n, N, ntilde, Ntilde ] };
1505 key <AC05> { [ r, R, registered, registered ] };
1506 key <AC06> { [ i, I, iacute, Iacute ] };
1507 key <AC07> { [ a, A, aacute, Aacute ] };
1508 key <AC08> { [ e, E, eacute, Eacute ] };
1509 key <AC09> { [ o, O, oacute, Oacute ] };
1510 key <AC10> { [ h, H, uacute, Uacute ] };
1511 key <AC11> { [dead_acute, dead_diaeresis, apostrophe, quotedbl ] };
1512
1513 key <AB01> { [ z, Z, z, Z ] };
1514 key <AB02> { [ x, X, U015F, U015E ] };
1515 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
1516 key <AB04> { [ v, V, ae, AE ] };
1517 key <AB05> { [ j, J, oe, OE ] };
1518 key <AB06> { [ k, K, U0131, U0130 ] };
1519 key <AB07> { [ p, P, aring, Aring ] };
1520 key <AB08> { [ comma, less, ediaeresis, Ediaeresis ] };
1521 key <AB09> { [ period, greater, dead_abovedot, dead_caron ] };
1522 key <AB10> { [ slash, question, questiondown, dead_hook ] };
1523 key <BKSL> { [ backslash, bar, notsign, brokenbar ] };
1524
1525 key <LSGT> { [ backslash, bar, backslash, bar ] };
1526
1527 include "level3(ralt_switch)"
1528 };
1529
1530 // Carpalx layout created by Martin Krzywinski
1531 // http://mkweb.bcgsc.ca/carpalx/
1532 // Merged with us(intl) and us(altgr-intl) and modified to move
1533 // accented vowels closer to the plain vowels
1534
1535 partial alphanumeric_keys
1536 xkb_symbols "carpalx-altgr-intl" {
1537
1538 include "us(carpalx-intl)"
1539 name[Group1]= "English (Carpalx, intl., with AltGr dead keys)";
1540
1541 key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
1542 key <AC11> { [apostrophe,quotedbl, dead_acute, dead_diaeresis ] };
1543
1544 key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
1545
1546 key <AE06> { [ 6, asciicircum, dead_circumflex, onequarter ] };
1547 key <AE07> { [ 7, ampersand, dead_horn, onehalf ] };
1548 key <AE08> { [ 8, asterisk, dead_ogonek, threequarters ] };
1549
1550 include "level3(ralt_switch)"
1551 };
1552
1553 // Carpalx layout created by Martin Krzywinski
1554 // Full optimization variant without fixed QWERTY-like ZXCV keys
1555 // http://mkweb.bcgsc.ca/carpalx/
1556
1557 partial alphanumeric_keys
1558 xkb_symbols "carpalx-full" {
1559
1560 include "us(carpalx)"
1561 name[Group1]= "English (Carpalx, full optimization)";
1562
1563 key <AD06> { [ b, B ] };
1564 key <AD07> { [ y, Y ] };
1565 key <AD09> { [ v, V ] };
1566
1567 key <AB04> { [ f, F ] };
1568 };
1569
1570 // Carpalx layout created by Martin Krzywinski
1571 // Full optimization variant without fixed QWERTY-like ZXCV keys
1572 // http://mkweb.bcgsc.ca/carpalx/
1573 // Merged with us(intl) and modified to move
1574 // accented vowels closer to the plain vowels
1575
1576 partial alphanumeric_keys
1577 xkb_symbols "carpalx-full-intl" {
1578
1579 include "us(carpalx-intl)"
1580 name[Group1]= "English (Carpalx, full optimization, intl., with dead keys)";
1581
1582 key <AD06> { [ b, B, idiaeresis, Idiaeresis ] };
1583 key <AD07> { [ y, Y, adiaeresis, Adiaeresis ] };
1584 key <AD09> { [ v, V, odiaeresis, Odiaeresis ] };
1585
1586 key <AB04> { [ f, F, ae, AE ] };
1587 };
1588
1589 // Carpalx layout created by Martin Krzywinski
1590 // Full optimization variant without fixed QWERTY-like ZXCV keys
1591 // http://mkweb.bcgsc.ca/carpalx/
1592 // Merged with us(intl) and us(altgr-intl) and modified to move
1593 // accented vowels closer to the plain vowels
1594
1595 partial alphanumeric_keys
1596 xkb_symbols "carpalx-full-altgr-intl" {
1597
1598 include "us(carpalx-altgr-intl)"
1599 name[Group1]= "English (Carpalx, full optimization, intl., with AltGr dead keys)";
1600
1601 key <AD06> { [ b, B, idiaeresis, Idiaeresis ] };
1602 key <AD07> { [ y, Y, adiaeresis, Adiaeresis ] };
1603 key <AD09> { [ v, V, odiaeresis, Odiaeresis ] };
1604
1605 key <AB04> { [ f, F, ae, AE ] };
1606 };
1607
1608 // US Symbolic
1609 // Author: Daniele Baisero <daniele.baisero (a] gmail.com>
1610 // Based on the default keyboard map from 'symbols/us', edited for scientific literature.
1611 // Added simple Greek letters to alphas, and common symbols everywhere else.
1612 // TLDE and BKSL are AltGr-inverse, to facilitate placement of ESC over TLDE on 60% keyboards.
1613 // LGST (Iso Key) contains rarely used floor and ceiling brackets.
1614 partial alphanumeric_keys modifier_keys
1615 xkb_symbols "symbolic" {
1616
1617 name[Group1]= "English (US, Symbolic)";
1618
1619 key <TLDE> { [ grave, asciitilde, backslash, bar ] }; // ` ~ \ |
1620 key <AE01> { [ 1, exclam, onesuperior, notsign ] }; // 1 !
1621 key <AE02> { [ 2, at, twosuperior, therefore ] }; // 2 @
1622 key <AE03> { [ 3, numbersign, threesuperior, sterling ] }; // 3 #
1623 key <AE04> { [ 4, dollar, foursuperior, EuroSign ] }; // 4 $
1624 key <AE05> { [ 5, percent, fivesuperior, U2030 ] }; // 5 %
1625 key <AE06> { [ 6, asciicircum, sixsuperior, squareroot ] }; // 6 ^
1626 key <AE07> { [ 7, ampersand, sevensuperior, section ] }; // 7 &
1627 key <AE08> { [ 8, asterisk, eightsuperior, infinity ] }; // 8 *
1628 key <AE09> { [ 9, parenleft, ninesuperior, periodcentered ] }; // 9 (
1629 key <AE10> { [ 0, parenright, zerosuperior, degree ] }; // 0 )
1630 key <AE11> { [ minus, underscore, notequal, plusminus ] }; // - _
1631 key <AE12> { [ equal, plus, multiply, division ] }; // = +
1632
1633 key <AD01> { [ q, Q, U2200, U2203 ] }; // q Q
1634 key <AD02> { [ w, W, elementof, notelementof ] }; // w W
1635 key <AD03> { [ e, E, Greek_epsilon, Greek_EPSILON ] }; // e E
1636 key <AD04> { [ r, R, Greek_rho, Greek_RHO ] }; // p P
1637 key <AD05> { [ t, T, Greek_tau, Greek_TAU ] }; // t T
1638 key <AD06> { [ y, Y, Greek_upsilon, Greek_UPSILON ] }; // y Y
1639 key <AD07> { [ u, U, Greek_theta, Greek_THETA ] }; // u U
1640 key <AD08> { [ i, I, Greek_iota, Greek_IOTA ] }; // i I
1641 key <AD09> { [ o, O, Greek_omicron, Greek_OMICRON ] }; // o O
1642 key <AD10> { [ p, P, Greek_pi, Greek_PI ] }; // p P
1643 key <AD11> { [ bracketleft, braceleft, union, intersection ] }; // [ {
1644 key <AD12> { [ bracketright, braceright, includedin, includes ] }; // ] }
1645
1646 key <AC01> { [ a, A, Greek_alpha, Greek_ALPHA ] }; // a A
1647 key <AC02> { [ s, S, Greek_sigma, Greek_SIGMA ] }; // s S
1648 key <AC03> { [ d, D, Greek_delta, Greek_DELTA ] }; // d D
1649 key <AC04> { [ f, F, Greek_phi, Greek_PHI ] }; // f F
1650 key <AC05> { [ g, G, Greek_gamma, Greek_GAMMA ] }; // g G
1651 key <AC06> { [ h, H, Greek_eta, Greek_ETA ] }; // h H
1652 key <AC07> { [ j, J, Greek_xi, Greek_XI ] }; // j J
1653 key <AC08> { [ k, K, Greek_kappa, Greek_KAPPA ] }; // k K
1654 key <AC09> { [ l, L, Greek_lamda, Greek_LAMDA ] }; // l L
1655 key <AC10> { [ semicolon, colon, downarrow, uparrow ] }; // ; :
1656 key <AC11> { [ apostrophe, quotedbl, rightarrow, leftarrow ] }; // ' "
1657
1658 key <AB01> { [ z, Z, Greek_zeta, Greek_ZETA ] }; // z Z
1659 key <AB02> { [ x, X, Greek_chi, Greek_CHI ] }; // x X
1660 key <AB03> { [ c, C, Greek_psi, Greek_PSI ] }; // c C
1661 key <AB04> { [ v, V, Greek_omega, Greek_OMEGA ] }; // v V
1662 key <AB05> { [ b, B, Greek_beta, Greek_BETA ] }; // b B
1663 key <AB06> { [ n, N, Greek_nu, Greek_NU ] }; // n N
1664 key <AB07> { [ m, M, Greek_mu, Greek_MU ] }; // m M
1665 key <AB08> { [ comma, less, lessthanequal, guillemotleft ] }; // , <
1666 key <AB09> { [ period, greater, greaterthanequal, guillemotright ] }; // . >
1667 key <AB10> { [ slash, question, U203D, U2766 ] }; // / ?
1668
1669 key <BKSL> { [ backslash, bar, grave, asciitilde ] }; // \ | ` ~
1670 key <LSGT> { [ U230A, U230B, U2308, U2309 ] }; //
1671
1672 include "level3(ralt_switch)"
1673 };
1674
1675 // EXTRAS:
1676
1677 // Czech, Slovak and German charecters added as third level symbols to US keyboard layout.
1678 partial alphanumeric_keys
1679 xkb_symbols "cz_sk_de" {
1680
1681 include "us"
1682 name[Group1]="Czech Slovak and German (US)";
1683
1684 key <TLDE> { [grave, asciitilde, uring, Uring ] };
1685 key <AE01> { [ 1, exclam, uacute, Uacute ] };
1686 key <AE02> { [ 2, at, ecaron, Ecaron ] };
1687 key <AE03> { [ 3, numbersign, scaron, Scaron ] };
1688 key <AE04> { [ 4, dollar, ccaron, Ccaron ] };
1689 key <AE05> { [ 5, percent, rcaron, Rcaron ] };
1690 key <AE06> { [ 6, asciicircum, zcaron, Zcaron ] };
1691 key <AE07> { [ 7, ampersand, yacute, Yacute ] };
1692 key <AE08> { [ 8, asterisk, aacute, Aacute ] };
1693 key <AE09> { [ 9, parenleft, iacute, Iacute ] };
1694 key <AE10> { [ 0, parenright, eacute, Eacute ] };
1695 key <AE11> { [minus, underscore, ssharp, 0x1001E9E ] };
1696 key <AE12> { [equal, plus, dead_acute, dead_caron ] };
1697
1698 key <AD03> { [ e, E, EuroSign, Eacute ] };
1699
1700 key <AD11> { [bracketleft, braceleft, udiaeresis, Udiaeresis ] };
1701 key <AC10> { [ semicolon, colon, odiaeresis, Odiaeresis ] };
1702 key <AC11> { [apostrophe, quotedbl,adiaeresis, Adiaeresis ] };
1703
1704 key <AC01> { [ a, A, aacute, Aacute ] };
1705 key <AD08> { [ i, I, iacute, Iacute ] };
1706 key <AD09> { [ o, O, oacute, Oacute ] };
1707 key <AD06> { [ y, Y, yacute, Yacute ] };
1708 key <AD07> { [ u, U, uring, Uring ] };
1709
1710 key <AC02> { [ s, S, scaron, Scaron ] };
1711 key <AB01> { [ z, Z, zcaron, Zcaron ] };
1712 key <AB03> { [ c, C, ccaron, Ccaron ] };
1713 key <AD04> { [ r, R, rcaron, Rcaron ] };
1714 key <AD05> { [ t, T, tcaron, Tcaron ] };
1715 key <AC03> { [ d, D, dcaron, Dcaron ] };
1716 key <AB06> { [ n, N, ncaron, Ncaron ] };
1717 key <AC09> { [ l, L, lcaron, Lcaron ] };
1718 key <AD10> { [ p, P,ocircumflex, Ocircumflex ] };
1719
1720 key <SPCE> { [ space, space, nobreakspace, nobreakspace] };
1721
1722 include "level3(ralt_switch)"
1723 };
1724
1725 // This is the above Jirka's us(cz_sk_de) layout variant extended with Polish, Spanish, Finnish and Swedish characters.
1726 // This layout variant is primarily targeted to Czech and Slovak polyglots and SW engineers (like the original above one).
1727 partial alphanumeric_keys
1728 xkb_symbols "cz_sk_pl_de_es_fi_sv" {
1729
1730 include "us"
1731 name[Group1]="Czech, Slovak, Polish, Spanish, Finnish, Swedish and German (US)";
1732
1733 key <TLDE> { [grave, asciitilde, uring, Uring ] };
1734 key <AE01> { [ 1, exclam, uacute, Uacute ] };
1735 key <AE02> { [ 2, at, ecaron, Ecaron ] };
1736 key <AE03> { [ 3, numbersign, scaron, Scaron ] };
1737 key <AE04> { [ 4, dollar, ccaron, Ccaron ] };
1738 key <AE05> { [ 5, percent, rcaron, Rcaron ] };
1739 key <AE06> { [ 6, asciicircum, zcaron, Zcaron ] };
1740 key <AE07> { [ 7, ampersand, yacute, Yacute ] };
1741 key <AE08> { [ 8, asterisk, aacute, Aacute ] };
1742 key <AE09> { [ 9, parenleft, iacute, Iacute ] };
1743 key <AE10> { [ 0, parenright, eacute, Eacute ] };
1744 key <AE11> { [minus, underscore, ssharp, 0x1001E9E ] };
1745 key <AE12> { [equal, plus, dead_acute, dead_caron ] };
1746
1747 key <AD03> { [ e, E, EuroSign, Eacute ] };
1748
1749 key <AD11> { [bracketleft, braceleft, udiaeresis, Udiaeresis ] };
1750 key <AC10> { [ semicolon, colon, odiaeresis, Odiaeresis ] };
1751 key <AC11> { [apostrophe, quotedbl,adiaeresis, Adiaeresis ] };
1752
1753 key <AC01> { [ a, A, aacute, Aacute ] };
1754 key <AD08> { [ i, I, iacute, Iacute ] };
1755 key <AD09> { [ o, O, oacute, Oacute ] };
1756 key <AD06> { [ y, Y, yacute, Yacute ] };
1757 key <AD07> { [ u, U, uring, Uring ] };
1758
1759 key <AC02> { [ s, S, scaron, Scaron ] };
1760 key <AB01> { [ z, Z, zcaron, Zcaron ] };
1761 key <AB03> { [ c, C, ccaron, Ccaron ] };
1762 key <AD04> { [ r, R, rcaron, Rcaron ] };
1763 key <AD05> { [ t, T, tcaron, Tcaron ] };
1764 key <AC03> { [ d, D, dcaron, Dcaron ] };
1765 key <AB06> { [ n, N, ncaron, Ncaron ] };
1766 key <AC09> { [ l, L, lcaron, Lcaron ] };
1767 key <AD10> { [ p, P,ocircumflex, Ocircumflex ] };
1768
1769 key <SPCE> { [ space, space, nobreakspace, nobreakspace] };
1770
1771 // Polish
1772 key <AD01> { [ q, Q, aogonek, Aogonek ] };
1773 key <AD02> { [ w, W, eogonek, Eogonek ] };
1774 key <AD12> { [bracketright, braceright, guillemotleft, guillemotright ] };
1775 key <AC04> { [ f, F, sacute, Sacute ] };
1776 key <AC05> { [ g, G, copyright, registered ] };
1777 key <AC06> { [ h, H, cent, trademark ] };
1778 key <AC07> { [ j, J, plusminus, degree ] };
1779 key <AC08> { [ k, K, lstroke, Lstroke ] };
1780 //alias <AC12> = <BKSL>;
1781 key <BKSL> { [ backslash, bar, aring, Aring ] };
1782 //Requires pc105 compatibility
1783 key <LSGT> { [ endash, emdash, zabovedot, Zabovedot ] };
1784 key <AB02> { [ x, X, zacute, Zacute ] };
1785 key <AB04> { [ v, V, cacute, Cacute ] };
1786 key <AB05> { [ b, B, ntilde, Ntilde ] };
1787 key <AB07> { [ m, M, nacute, Nacute ] };
1788 key <AB08> { [ comma, less,lessthanequal, multiply ] };
1789 key <AB09> { [ period, greater, greaterthanequal, division ] };
1790 key <AB10> { [ slash, question, exclamdown, questiondown ] };
1791
1792 include "level3(ralt_switch)"
1793 };
1794
1795 // 03 December 2017 - Added us(scn), please refer to
1796 // Cadmia Siciliana <l10n (a] cademiasiciliana.org>
1797 partial alphanumeric_keys
1798 xkb_symbols "scn" {
1799
1800 include "us(intl)"
1801 name[Group1]="Sicilian (US keyboard)";
1802
1803 key <AD03> { [ e, E, U0259, U018F ] };
1804 key <AC03> { [ d, D, U1E0D, U1E0C ] };
1805 key <AC04> { [ f, F, U0111, U0110 ] };
1806 key <AC06> { [ h, H, U1E25, U1E24 ] };
1807 key <AB02> { [ x, X, U03C7, U03A7 ] };
1808 key <AB09> { [ period, greater, U1D58, dead_caron ] };
1809
1810 include "level3(ralt_switch)"
1811 };
1812
1813 // XCompose is out! Unicode combining is in! For those of us who live
1814 // on the edge: A keymap using Unicode combining characters instead of
1815 // deadkeys. This variation does not deviate from the lame MS-style
1816 // US-intl layout; but it uses AltGr for combining, like altgr-intl.
1817 //
1818 // This might break your font layout systems (because they suck),
1819 // caveat emptor. Also, most of today's software will count
1820 // individual combining marks for selection, deletion, character
1821 // counting &c., and won't be smart enough to do canonical equivalence
1822 // when searching, &c.
1823 //
1824 // With Unicode combining you use "handwriting order", not
1825 // "typewriting order" as with deadkeys. That is, you first type the
1826 // base character, then the diacritics/accents/modifiers. This has
1827 // the advantage of avoiding hidden states --- each keypress changes
1828 // something on screen.
1829 //
1830 // TODO: as of now, this duplicates all us(intl) functionality with
1831 // combining. With care, perhaps we could add more combining marks
1832 // not present in intl, and support all major languages.
1833 partial alphanumeric_keys
1834 xkb_symbols "intl-unicode" {
1835
1836 include "us(intl)"
1837 include "level3(ralt_switch)"
1838
1839 name[Group1]= "English (US, intl., AltGr Unicode combining)";
1840
1841 key <TLDE> { [ grave, asciitilde, U0300, U0303 ] }; // grave, tilde
1842 key <AE02> { [ 2, at, twosuperior, U030B ] }; // double acute
1843 key <AE03> { [ 3, numbersign, threesuperior, U0304 ] }; // macron
1844 key <AE06> { [ 6, asciicircum, onequarter, U0302 ] }; // circumflex
1845 key <AE07> { [ 7, ampersand, onehalf, U031B ] }; // horn
1846 key <AE08> { [ 8, asterisk, threequarters, U0328 ] }; // ogonek
1847 key <AE09> { [ 9, parenleft, leftsinglequotemark, U0306 ] }; // breve
1848 key <AE10> { [ 0, parenright, rightsinglequotemark, U030A ] }; // abovering
1849
1850 key <AE11> { [ minus, underscore, yen, U0323 ] }; // belowdot
1851 key <AC11> { [ apostrophe, quotedbl, U0301, U0308 ] }; // acute, diaeresis
1852 key <AB09> { [ period, greater, U0307, U030C ] }; // abovedot, caron
1853 key <AB10> { [ slash, question, questiondown, U0309 ] }; // hook
1854
1855 // alt-intl compatibility
1856 key <AB08> { [ comma, less, U0327, U030C ] }; // cedilla, caron
1857 key <AC10> { [ semicolon, colon, U0328, U0308 ] }; // ogonek, diaeresis
1858 key <AE12> { [ equal, plus, U030B, U031B ] }; // doubleacute, horn
1859
1860 // We don't do combining latin letters and combining enclosures,
1861 // because support for those is very rare.
1862 };
1863
1864 // XCompose is out! Unicode combining is in! For those of us who live
1865 // on the edge: A keymap using Unicode combining characters instead of
1866 // deadkeys. This variation does break compatibility with us-intl,
1867 // whenever I thought it would be more mnemonic or Unicodeish.
1868 partial alphanumeric_keys
1869 xkb_symbols "alt-intl-unicode" {
1870
1871 include "us(intl-unicode)"
1872
1873 name[Group1]= "English (US, intl., AltGr Unicode combining, alt.)";
1874
1875 // easier macron; em-dash.
1876 // em-dash is available via compose, but I added here since it's such
1877 // an important typographic character.
1878 key <AE11> { [ minus, underscore, U0304, U2014 ] };
1879
1880 // belowdot, abovedot (caron at coma/less key, per above)
1881 key <AB09> { [ period, greater, U0323, U0307 ] };
1882 };
1883
1884 partial alphanumeric_keys
1885 xkb_symbols "ats" {
1886
1887 include "us"
1888 name[Group1]= "Atsina";
1889
1890 //Using Dead key to get COMBINING COMMA ABOVE for ejectives on
1891 //q, l, t, s, m, g, k, p, w, y, r
1892 //XCompose key is used for the other accute and grave.
1893
1894 key <AD03> { [ e, E, eacute, Eacute ] };
1895 key <AD07> { [ u, U, uacute, Uacute ] };
1896 key <AD08> { [ i, I, iacute, Iacute ] };
1897 key <AD09> { [ o, O, oacute, Oacute ] };
1898 key <AD11> { [ bracketleft, braceleft, U03B8 ] };
1899 key <AD12> { [ bracketright, braceright, U010D, U010C ] };
1900 //U+010C (uppercase ) and U+010D (lowercase ).
1901
1902 key <AC01> { [ a, A, aacute, Aacute ] };
1903
1904 //Small letter Open use compose to key get acute accent
1905 key <AB03> { [ c, C, U0254, U0186 ] };
1906 key <AB08> { [ comma, less, U0313 ] };
1907 key <AB10> { [ slash, question, U0294 ] };
1908
1909 include "level3(ralt_switch)"
1910 include "compose(rctrl)"
1911 };
1912
1913 partial alphanumeric_keys
1914 xkb_symbols "crd" {
1915
1916 include "us"
1917 name[Group1]= "Coeur d'Alene Salish";
1918
1919 key <AD02> { [ w, W, U02B7, U02B7 ] };
1920 key <AE07> { [ 7, ampersand, U0294 ] };
1921 key <AD01> { [ q, Q, U221A ] };
1922 key <AB04> { [ v, V, U0259 ] };
1923 key <BKSL> { [ backslash, bar, U026B ] };
1924 key <AD03> { [ e, E, U025B ] };
1925 key <AD08> { [ i, I, U026A ] };
1926 key <AC07> { [ j, J, U01F0 ] };
1927 key <AE06> { [ 6, asciicircum, U0295 ] };
1928 key <AC02> { [ s, S, U0161 ] };
1929 key <AB03> { [ c, C, U010D ] };
1930 key <AD09> { [ o, O, U0254 ] };
1931 key <AB09> { [ period, greater, U0323 ] };
1932
1933 include "level3(ralt_switch)"
1934 include "compose(rctrl)"
1935 };
1936
1937
1938 partial alphanumeric_keys
1939 xkb_symbols "sun_type6" {
1940 include "sun_vndr/us(sun_type6)"
1941 };
1942
1943 // Implementation of the 3l keyboard layout
1944 // See https://github.com/jackrosenthal/threelayout for specification
1945 partial alphanumeric_keys modifier_keys
1946 xkb_symbols "3l" {
1947 name[Group1] = "English (3l)";
1948
1949 key.type[Group1] = "ONE_LEVEL";
1950 key <TAB> { [ Escape ] };
1951 key <CAPS> { [ Tab ] };
1952 key <AC11> { [ ISO_Level3_Shift ] }; // Sym Modifier
1953 key <AB10> { [ ISO_Level5_Shift ] }; // Cur/Num Modifier
1954
1955 // Top row numbers - not part of spec, but given for convenience
1956 key <AE01> { [ 1 ] };
1957 key <AE02> { [ 2 ] };
1958 key <AE03> { [ 3 ] };
1959 key <AE04> { [ 4 ] };
1960 key <AE05> { [ 5 ] };
1961 key <AE06> { [ 6 ] };
1962 key <AE07> { [ 7 ] };
1963 key <AE08> { [ 8 ] };
1964 key <AE09> { [ 9 ] };
1965 key <AE10> { [ 0 ] };
1966
1967 // Main keys
1968 // Order of mods (defined by EIGHT_LEVEL_SEMIALPHABETIC) is:
1969 // [ None, Shift, Sym, Shift+Sym, Num, Shift+Num, Sym+Num, Shift+Sym+Num ]
1970 key.type[Group1] = "EIGHT_LEVEL_SEMIALPHABETIC";
1971
1972 // Second row
1973 key <AD01> { [ q, Q, quotedbl, Greek_omicron, Prior, Prior, U21CD, Greek_OMICRON ] };
1974 key <AD02> { [ f, F, underscore, Greek_phi, BackSpace, BackSpace, U21A4, Greek_PHI ] };
1975 key <AD03> { [ u, U, bracketleft, Greek_upsilon, Up, Up, U2191, Greek_UPSILON ] };
1976 key <AD04> { [ y, Y, bracketright, Greek_psi, Delete, Delete, U21A6, Greek_PSI ] };
1977 key <AD05> { [ z, Z, asciicircum, Greek_zeta, Next, Next, U21CF, Greek_ZETA ] };
1978 key <AD06> { [ x, X, exclam, Greek_xi, NoSymbol, NoSymbol, U2260, Greek_XI ] };
1979 key <AD07> { [ k, K, less, Greek_kappa, 1, A, U2A7D, Greek_KAPPA ] };
1980 key <AD08> { [ c, C, greater, Greek_chi, 2, B, U2A7E, Greek_CHI ] };
1981 key <AD09> { [ w, W, equal, Greek_omega, 3, C, U2261, Greek_OMEGA ] };
1982 key <AD10> { [ b, B, ampersand, Greek_beta, NoSymbol, NoSymbol, U2248, Greek_BETA ] };
1983
1984 // Home row
1985 key <AC01> { [ o, O, slash, Greek_omega, Home, Home, U21D0, Greek_OMEGA ] };
1986 key <AC02> { [ h, H, minus, Greek_theta, Left, Left, U2190, Greek_THETA ] };
1987 key <AC03> { [ e, E, braceleft, Greek_epsilon, Down, Down, U2193, Greek_EPSILON ] };
1988 key <AC04> { [ a, A, braceright, Greek_alpha, Right, Right, U2192, Greek_ALPHA ] };
1989 key <AC05> { [ i, I, asterisk, Greek_iota, End, End, U21D2, Greek_IOTA ] };
1990 key <AC06> { [ d, D, question, Greek_delta, period, colon, U2286, Greek_DELTA ] };
1991 key <AC07> { [ r, R, parenleft, Greek_rho, 4, D, U2227, Greek_RHO ] };
1992 key <AC08> { [ t, T, parenright, Greek_tau, 5, E, U2228, Greek_TAU ] };
1993 key <AC09> { [ n, N, apostrophe, Greek_eta, 6, F, U2200, Greek_ETA ] };
1994 key <AC10> { [ s, S, colon, Greek_sigma, NoSymbol, NoSymbol, U2203, Greek_SIGMA ] };
1995
1996 // Bottom row
1997 key <AB01> { [ comma, comma, numbersign, NoSymbol, slash, NoSymbol, U21AE, NoSymbol ] };
1998 key <AB02> { [ m, M, dollar, Greek_mu, asterisk, NoSymbol, U2194, Greek_MU ] };
1999 key <AB03> { [ period, period, bar, NoSymbol, minus, NoSymbol, U21CE, NoSymbol ] };
2000 key <AB04> { [ j, J, asciitilde, Greek_SIGMA, plus, NoSymbol, U21D4, NoSymbol ] };
2001 key <AB05> { [ semicolon, semicolon, grave, NoSymbol, comma, NoSymbol, U2282, NoSymbol ] };
2002 key <AB06> { [ g, G, plus, Greek_gamma, 0, NoSymbol, U2229, Greek_GAMMA ] };
2003 key <AB07> { [ l, L, percent, Greek_lambda, 7, parenleft, U222A, Greek_LAMBDA ] };
2004 key <AB08> { [ p, P, backslash, Greek_pi, 8, parenright, U2208, Greek_PI ] };
2005 key <AB09> { [ v, V, at, Greek_nu, 9, NoSymbol, U2209, Greek_NU ] };
2006
2007 include "level5(modifier_mapping)"
2008 };
2009
2010 // Chromebooks typically have the key which is normally in the caps
2011 // lock position mapped to keycode 133 (LWIN). For 3l, it is critical
2012 // that the key in this positon correspond to tab, so there is a
2013 // variant available for chromebook hardware.
2014 partial modifier_keys
2015 xkb_symbols "3l-cros" {
2016 include "us(3l)"
2017 name[Group1] = "English (3l, Chromebook)";
2018 key <LWIN> {
2019 type[Group1] = "ONE_LEVEL",
2020 symbols[Group1] = [ Tab ]
2021 };
2022 };
2023
2024 // A 3l variant for emacs users, which maps control to caps lock and (re)maps
2025 // tab back to tab.
2026 partial modifier_keys
2027 xkb_symbols "3l-emacs" {
2028 include "us(3l)"
2029 name[Group1] = "English (3l, emacs)";
2030
2031 key <TAB> { [ Tab ] };
2032 key <CAPS> { [ Control_L ] };
2033
2034 modifier_map Control { <CAPS> };
2035 };
2036
2037 // Drix EU Latin - version 3.1 (2019-10-07)
2038 // Author: Jerome Leclanche <jerome (a] leclan.ch>
2039 // Latin layout based on classic US qwerty, with azerty-style second-row m key.
2040 // Features:
2041 // - Programmer-centric punctuation keys (All common symbols on right hand except < and > on left)
2042 // - Most common dead accents on altgr-shift number row
2043 // - Unicode arrows on Altgr+shift+WASD
2044 // - Some commonly used special characters available:
2045 // - Most common european special characters
2046 // - Misc currency symbols, copyright/registered/trademark symbols
2047 // - Common math symbols + some common greek letters
2048 // - Compose key replaces Mod5
2049 //
2050 // This layout is in the Public Domain.
2051 //
2052 //
2053 // ~ ~ " ' ` ^ ^ ` 6 7 8 9 | _ = Backspace
2054 // @ 1 2 3 4 5 6 7 8 9 0 - " + '
2055 //
2056 // Tab Q W E R T Y U U I O P [ ]
2057 // q w w e r t y u u i o p ( { ) } Enter
2058 //
2059 // Caps A S D F G G H H J K L M M % &
2060 // Lock a s d f g g h h j k l m # ~ * $
2061 //
2062 // Shift > Z X C V V B N N ? , ; \ Shift
2063 // < z x c v b n ! . : ` / |
2064 //
2065 // Ctrl Fn Alt Space Nobreakspace AltGr Multi Ctxt Ctrl
2066 // Space Nobreakspace Menu
2067 //
2068
2069 partial alphanumeric_keys modifier_keys
2070 xkb_symbols "drix" {
2071
2072 name[Group1] = "English (Drix)";
2073
2074 // First row
2075 key <TLDE> {[ at, asciitilde, sterling, dead_tilde ]}; // @ ~ ~
2076 key <AE01> {[ 1, quotedbl, onesuperior, dead_grave ]}; // 1 " `
2077 key <AE02> {[ 2, apostrophe, twosuperior, dead_acute ]}; // 2 '
2078 key <AE03> {[ 3, asciicircum, threesuperior, dead_circumflex ]}; // 3 ^ ^
2079 key <AE04> {[ 4, grave, foursuperior, dead_diaeresis ]}; // 4 4
2080 key <AE05> {[ 5, degree, fivesuperior, dead_abovering ]}; // 5
2081 key <AE06> {[ 6, 6, sixsuperior, dead_macron ]}; // 6 6
2082 key <AE07> {[ 7, 7, sevensuperior, dead_cedilla ]}; // 7 7
2083 key <AE08> {[ 8, 8, eightsuperior, dead_ogonek ]}; // 8 8
2084 key <AE09> {[ 9, 9, ninesuperior, dead_caron ]}; // 9 9
2085 key <AE10> {[ 0, bar, zerosuperior, dead_doubleacute ]}; // 0 |
2086 key <AE11> {[ minus, underscore, quotedbl, plusminus ]}; // - _ "
2087 key <AE12> {[ plus, equal, apostrophe, notequal ]}; // + = '
2088
2089 // Second row
2090 key <AD01> {[ q, Q, oslash, Ooblique ]}; // q Q
2091 key <AD02> {[ w, W, w, uparrow ]}; // w W w
2092 key <AD03> {[ e, E, EuroSign, EuroSign ]}; // e E
2093 key <AD04> {[ r, R, registered, 0x10020bd ]}; // r R
2094 key <AD05> {[ t, T, trademark, Greek_tau ]}; // t T
2095 key <AD06> {[ y, Y, yen, yen ]}; // y Y
2096 key <AD07> {[ u, U, u, U ]}; // u U u U
2097 key <AD08> {[ i, I, leftsinglequotemark, rightsinglequotemark ]}; // i I
2098 key <AD09> {[ o, O, oe, Greek_OMEGA ]}; // o O
2099 key <AD10> {[ p, P, Greek_pi, 0x10020b1 ]}; // p P
2100 key <AD11> {[ parenleft, bracketleft, braceleft, guillemotleft ]}; // ( [ {
2101 key <AD12> {[ parenright, bracketright, braceright, guillemotright ]}; // ) ] }
2102
2103 // Third row
2104 key <AC01> {[ a, A, ae, leftarrow ]}; // a A
2105 key <AC02> {[ s, S, ssharp, downarrow ]}; // s S
2106 key <AC03> {[ d, D, Greek_DELTA, rightarrow ]}; // d D
2107 key <AC04> {[ f, F, 0x1000192, 0x1000191 ]}; // f F
2108 key <AC05> {[ g, G, g, G ]}; // g G g G
2109 key <AC06> {[ h, H, h, H ]}; // h H h H
2110 key <AC07> {[ j, J, leftdoublequotemark, rightdoublequotemark ]}; // j J
2111 key <AC08> {[ k, K, singlelowquotemark, doublelowquotemark ]}; // k K
2112 key <AC09> {[ l, L, sterling, Greek_lambda ]}; // l L
2113 key <AC10> {[ m, M, mu, M ]}; // m M M
2114 key <AC11> {[ numbersign, percent, asciitilde, 0x1002030 ]}; // # % ~
2115
2116 // Fourth row
2117 key <LSGT> {[ less, greater, lessthanequal, greaterthanequal ]}; // < >
2118 key <AB01> {[ z, Z, section, paragraph ]}; // z Z
2119 key <AB02> {[ x, X, multiply, division ]}; // x X
2120 key <AB03> {[ c, C, copyright, cent ]}; // c C
2121 key <AB04> {[ v, V, 0x1002640, V ]}; // v V V
2122 key <AB05> {[ b, B, 0x1002642, 0x10020bf ]}; // b B
2123 key <AB06> {[ n, N, 0x10026a5, N ]}; // n N N
2124 key <AB07> {[ exclam, question, exclamdown, questiondown ]}; // ! ?
2125 key <AB08> {[ period, comma, 0x1002026, periodcentered ]}; // . ,
2126 key <AB09> {[ colon, semicolon, grave, acute ]}; // : ; `
2127 key <AB10> {[ slash, backslash, bar, brokenbar ]}; // / \ |
2128
2129 // Next to the enter key
2130 key <BKSL> {[ asterisk, ampersand, dollar, multiply ]}; // * & $
2131
2132 // Rebind right Super (windows key) into a Compose key
2133 key <RWIN> {[ Multi_key ]};
2134
2135 // Implement AltGr and AltGr+Shift
2136 // For some reason, include "level3(ralt_switch)" doesn't do the trick.
2137 key <RALT> {
2138 type[Group1]="TWO_LEVEL",
2139 [ ISO_Level3_Shift, Multi_key ]
2140 };
2141 };
2142
2143 // German and Swedish characters added as third level symbols to the US keyboard layout
2144 // Author: Stephan Lachnit <stephanlachnit (a] protonmail.com>, 2019
2145 // the german umlauts are placed over the characters without diaeresis, the sharp-s over the s
2146 // the swedish ao is placed over the p, since it's closed to the position on a swedish keyboard
2147 // the euro sign is placed over the e, as it is usual for german and swedish keyboards
2148 partial alphanumeric_keys
2149 xkb_symbols "de_se_fi" {
2150
2151 include "us(basic)"
2152 include "eurosign(e)"
2153 name[Group1] = "German, Swedish and Finnish (US)";
2154
2155 key <AC01> {[ a, A, adiaeresis, Adiaeresis ]};
2156 key <AC02> {[ s, S, ssharp, U1E9E ]};
2157 key <AD01> {[ q, Q, at ]};
2158 key <AD07> {[ u, U, udiaeresis, Udiaeresis ]};
2159 key <AD09> {[ o, O, odiaeresis, Odiaeresis ]};
2160 key <AD10> {[ p, P, aring, Aring ]};
2161 key <AD12> {[ bracketright, braceright, asciitilde ]};
2162
2163 include "level3(ralt_switch)"
2164 };
2165