Debian Codegraph @

symbols/us

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