us revision 797b363d
1default  partial alphanumeric_keys modifier_keys
2xkb_symbols "basic" {
3
4    name[Group1]= "English (US)";
5
6    key <TLDE> {	[     grave,	asciitilde	]	};
7    key <AE01> {	[	  1,	exclam 		]	};
8    key <AE02> {	[	  2,	at		]	};
9    key <AE03> {	[	  3,	numbersign	]	};
10    key <AE04> {	[	  4,	dollar		]	};
11    key <AE05> {	[	  5,	percent		]	};
12    key <AE06> {	[	  6,	asciicircum	]	};
13    key <AE07> {	[	  7,	ampersand	]	};
14    key <AE08> {	[	  8,	asterisk	]	};
15    key <AE09> {	[	  9,	parenleft	]	};
16    key <AE10> {	[	  0,	parenright	]	};
17    key <AE11> {	[     minus,	underscore	]	};
18    key <AE12> {	[     equal,	plus		]	};
19
20    key <AD01> {	[	  q,	Q 		]	};
21    key <AD02> {	[	  w,	W		]	};
22    key <AD03> {	[	  e,	E		]	};
23    key <AD04> {	[	  r,	R		]	};
24    key <AD05> {	[	  t,	T		]	};
25    key <AD06> {	[	  y,	Y		]	};
26    key <AD07> {	[	  u,	U		]	};
27    key <AD08> {	[	  i,	I		]	};
28    key <AD09> {	[	  o,	O		]	};
29    key <AD10> {	[	  p,	P		]	};
30    key <AD11> {	[ bracketleft,	braceleft	]	};
31    key <AD12> {	[ bracketright,	braceright	]	};
32
33    key <AC01> {	[	  a,	A 		]	};
34    key <AC02> {	[	  s,	S		]	};
35    key <AC03> {	[	  d,	D		]	};
36    key <AC04> {	[	  f,	F		]	};
37    key <AC05> {	[	  g,	G		]	};
38    key <AC06> {	[	  h,	H		]	};
39    key <AC07> {	[	  j,	J		]	};
40    key <AC08> {	[	  k,	K		]	};
41    key <AC09> {	[	  l,	L		]	};
42    key <AC10> {	[ semicolon,	colon		]	};
43    key <AC11> {	[ apostrophe,	quotedbl	]	};
44
45    key <AB01> {	[	  z,	Z 		]	};
46    key <AB02> {	[	  x,	X		]	};
47    key <AB03> {	[	  c,	C		]	};
48    key <AB04> {	[	  v,	V		]	};
49    key <AB05> {	[	  b,	B		]	};
50    key <AB06> {	[	  n,	N		]	};
51    key <AB07> {	[	  m,	M		]	};
52    key <AB08> {	[     comma,	less		]	};
53    key <AB09> {	[    period,	greater		]	};
54    key <AB10> {	[     slash,	question	]	};
55
56    key <BKSL> {	[ backslash,         bar	]	};
57};
58
59partial alphanumeric_keys
60xkb_symbols "euro" {
61
62    name[Group1]= "English (US, with euro on 5)";
63
64    include "us(basic)"
65
66    include "eurosign(5)"
67
68    include "level3(ralt_switch)"
69};
70
71
72partial alphanumeric_keys
73xkb_symbols "intl" {
74
75    name[Group1]= "English (US, international with dead keys)";
76
77    include "us(basic)"
78
79    key <TLDE> { [dead_grave, dead_tilde,         grave,       asciitilde ] };
80    key <AE01> { [	   1,     exclam,    exclamdown,      onesuperior ] };
81    key <AE02> { [	   2,         at,   twosuperior, dead_doubleacute ] };
82    key <AE03> { [	   3, numbersign, threesuperior,      dead_macron ] };
83    key <AE04> { [	   4,     dollar,      currency,         sterling ] };
84    key <AE05> { [	   5,    percent,      EuroSign,     dead_cedilla ] };
85    key <AE06> { [    6, dead_circumflex,    onequarter,      asciicircum ] };
86    key <AE07> { [	   7,  ampersand,       onehalf,	dead_horn ] };
87    key <AE08> { [	   8,   asterisk, threequarters,      dead_ogonek ] };
88    key <AE09> { [	   9,  parenleft, leftsinglequotemark, dead_breve ] };
89    key <AE10> { [	   0, parenright, rightsinglequotemark, dead_abovering ] };
90    key <AE11> { [     minus, underscore,           yen,    dead_belowdot ] };
91    key <AE12> { [     equal,       plus,      multiply,         division ] };
92
93    key <AD01> { [	   q,          Q,    adiaeresis,       Adiaeresis ] };
94    key <AD02> { [	   w,          W,         aring,            Aring ] };
95    key <AD03> { [	   e,          E,        eacute,           Eacute ] };
96    key <AD04> { [	   r,          R,    registered,       registered ] };
97    key <AD05> { [	   t,          T,         thorn,            THORN ] };
98    key <AD06> { [	   y,          Y,    udiaeresis,       Udiaeresis ] };
99    key <AD07> { [	   u,          U,        uacute,           Uacute ] };
100    key <AD08> { [	   i,          I,        iacute,           Iacute ] };
101    key <AD09> { [	   o,          O,        oacute,           Oacute ] };
102    key <AD10> { [	   p,          P,    odiaeresis,       Odiaeresis ] };
103    key <AD11> { [ bracketleft,  braceleft,  guillemotleft, leftdoublequotemark ] };
104    key <AD12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] };
105
106    key <AC01> { [	   a,          A,        aacute,           Aacute ] };
107    key <AC02> { [	   s,          S,        ssharp,          section ] };
108    key <AC03> { [	   d,          D,           eth,              ETH ] };
109    key <AC04> { [	   f,          F,             f,                F ] };
110    key <AC05> { [	   g,          G,             g,                G ] };
111    key <AC06> { [	   h,          H,             h,                H ] };
112    key <AC07> { [	   j,          J,             j,                J ] };
113    key <AC08> { [	   k,          K,            oe,               OE ] };
114
115    key <AC09> { [	   l,          L,        oslash,         Ooblique ] };
116    key <AC10> { [ semicolon,      colon,     paragraph,           degree ] };
117    key <AC11> { [dead_acute, dead_diaeresis, apostrophe,        quotedbl ] };
118
119    key <AB01> { [	   z,          Z,            ae,               AE ] };
120    key <AB02> { [	   x,          X,             x,                X ] };
121    key <AB03> { [	   c,          C,     copyright,             cent ] };
122    key <AB04> { [	   v,          V,             v,                V ] };
123    key <AB05> { [	   b,          B,             b,                B ] };
124    key <AB06> { [	   n,          N,        ntilde,           Ntilde ] };
125    key <AB07> { [	   m,          M,            mu,               mu ] };
126    key <AB08> { [     comma,       less,      ccedilla,         Ccedilla ] };
127    key <AB09> { [    period,    greater, dead_abovedot,       dead_caron ] };
128    key <AB10> { [     slash,   question,  questiondown,        dead_hook ] };
129    key <BKSL> { [ backslash,        bar,       notsign,        brokenbar ] };
130
131    key <LSGT> { [ backslash,   bar,            backslash,      bar ] };
132
133    include "level3(ralt_switch)"
134};
135
136// Based on symbols/us_intl keyboard map:
137// Dead-keys definition for a very simple US/ASCII layout.
138// by Conectiva (http://www.conectiva.com.br)
139// modified by Ricardo Y. Igarashi (iga@that.com.br)
140
141// Added the following deadkeys, to make it truly international:
142//
143// dead_macron: on AltGr-minus
144// dead_breve: on AltGr-parenleft
145// dead_abovedot: on AltGr-period
146// dead_abovering: on AltGr-0
147// dead_doubleacute: on AltGr-equal (as quotedbl is already used)
148// dead_caron: on AltGr-less (AltGr-shift-comma)
149// dead_cedilla: on AltGr-comma
150// dead_ogonek: on AltGr-semicolon
151// dead_belowdot: on AltGr-underscore (AltGr-shift-minus)
152// dead_hook: on AltGr-question
153// dead_horn: on AltGr-plus (AltGr-shift-equal)
154// dead_diaeresis: on AltGr-colon (Alt-shift-semicolon)
155//
156// those were already there:
157// dead_grave
158// dead_acute
159// dead_circumflex
160// dead_tilde
161// dead_diaeresis
162
163partial alphanumeric_keys
164xkb_symbols "alt-intl" {
165
166  name[Group1]= "English (US, alternative international)";
167
168  include "us"
169
170  key <TLDE> { [ dead_grave, dead_tilde,    grave,	      asciitilde    ] };
171  key <AE05> { [          5, percent,	    EuroSign			    ] };
172  key <AE06> { [	  6, dead_circumflex, asciicircum,    asciicircum   ] };
173  key <AE09> { [	  9, parenleft, leftsinglequotemark,  dead_breve ] };
174  key <AE10> { [	  0, parenright, rightsinglequotemark, dead_abovering ] };
175  key <AE11> { [      minus, underscore,    dead_macron,      dead_belowdot ] };
176  key <AE12> { [      equal, plus,	    dead_doubleacute, dead_horn	    ] };
177
178  key <AD03> { [          e, E,		     EuroSign,         cent	    ] };
179
180  key <AC10> { [  semicolon, colon,	     dead_ogonek,   dead_diaeresis  ] };
181  key <AC11> { [ dead_acute, dead_diaeresis, apostrophe,    quotedbl	    ] };
182
183  key <AB08> { [      comma, less,	     dead_cedilla,  dead_caron	    ] };
184  key <AB09> { [     period, greater,	     dead_abovedot, dead_circumflex ] };
185  key <AB10> { [      slash, question,	     dead_hook,	    dead_hook	    ] };
186
187  key <LSGT> { [ backslash,   bar,            backslash,      bar ] };
188
189  include "level3(ralt_switch)"
190};
191
192// based on a keyboard map from an 'xkb/symbols/dk' file
193
194partial alphanumeric_keys
195xkb_symbols "dvorak" {
196
197    name[Group1]= "English (Dvorak)";
198
199    key <TLDE> { [       grave,	asciitilde, dead_grave, dead_tilde	] };
200
201    key <AE01> { [	    1,	exclam 		]	};
202    key <AE02> { [	    2,	at		]	};
203    key <AE03> { [	    3,	numbersign	]	};
204    key <AE04> { [	    4,	dollar		]	};
205    key <AE05> { [	    5,	percent		]	};
206    key <AE06> { [	    6,	asciicircum, dead_circumflex, dead_circumflex ]	};
207    key <AE07> { [	    7,	ampersand	]	};
208    key <AE08> { [	    8,	asterisk	]	};
209    key <AE09> { [	    9,	parenleft,  dead_grave]	};
210    key <AE10> { [	    0,	parenright	]	};
211    key <AE11> { [ bracketleft,	braceleft	]	};
212    key <AE12> { [ bracketright, braceright,  dead_tilde] };
213
214    key <AD01> { [  apostrophe,	quotedbl, dead_acute, dead_diaeresis	] };
215    key <AD02> { [	comma,	less,   dead_cedilla, dead_caron	] };
216    key <AD03> { [      period,	greater, dead_abovedot, periodcentered	] };
217    key <AD04> { [	    p,	P		]	};
218    key <AD05> { [	    y,	Y		]	};
219    key <AD06> { [	    f,	F		]	};
220    key <AD07> { [	    g,	G		]	};
221    key <AD08> { [	    c,	C		]	};
222    key <AD09> { [	    r,	R		]	};
223    key <AD10> { [	    l,	L		]	};
224    key <AD11> { [	slash,	question	]	};
225    key <AD12> { [	equal,	plus		]	};
226
227    key <AC01> { [	    a,	A 		]	};
228    key <AC02> { [	    o,	O		]	};
229    key <AC03> { [	    e,	E		]	};
230    key <AC04> { [	    u,	U		]	};
231    key <AC05> { [	    i,	I		]	};
232    key <AC06> { [	    d,	D		]	};
233    key <AC07> { [	    h,	H		]	};
234    key <AC08> { [	    t,	T		]	};
235    key <AC09> { [	    n,	N		]	};
236    key <AC10> { [	    s,	S		]	};
237    key <AC11> { [	minus,	underscore	]	};
238
239    key <AB01> { [   semicolon,	colon, dead_ogonek, dead_doubleacute ] };
240    key <AB02> { [	    q,	Q		]	};
241    key <AB03> { [	    j,	J		]	};
242    key <AB04> { [	    k,	K		]	};
243    key <AB05> { [	    x,	X		]	};
244    key <AB06> { [	    b,	B		]	};
245    key <AB07> { [	    m,	M		]	};
246    key <AB08> { [	    w,	W		]	};
247    key <AB09> { [	    v,	V		]	};
248    key <AB10> { [	    z,	Z		]	};
249
250    key <BKSL> { [  backslash,  bar             ]       };
251};
252
253// Dvorak international with dead keys
254// Olivier Mehani (shtrom-xorg@ssji.net)
255// Reproduce the per-key mapping of us(intl) for the dvorak layout
256// aka "I just swapped my keys over"
257partial alphanumeric_keys
258xkb_symbols "dvorak-intl" {
259
260    name[Group1]= "English (Dvorak, international with dead keys)";
261
262    include "us(dvorak)"
263
264    key <TLDE> { [dead_grave, dead_tilde,         grave,       asciitilde ] };
265
266    key <AE01> { [	   1,     exclam,    exclamdown,      onesuperior ] };
267    key <AE02> { [	   2,         at,   twosuperior, dead_doubleacute ] };
268    key <AE03> { [	   3, numbersign, threesuperior,      dead_macron ] };
269    key <AE04> { [	   4,     dollar,      currency,         sterling ] };
270    key <AE05> { [	   5,    percent,      EuroSign,     dead_cedilla ] };
271    key <AE06> { [    6, dead_circumflex,    onequarter,      asciicircum ] };
272    key <AE07> { [	   7,  ampersand,       onehalf,	dead_horn ] };
273    key <AE08> { [	   8,   asterisk, threequarters,      dead_ogonek ] };
274    key <AE09> { [	   9,  parenleft, leftsinglequotemark, dead_breve ] };
275    key <AE10> { [	   0, parenright, rightsinglequotemark, dead_abovering ] };
276    key <AE11> { [ bracketleft,  braceleft,  guillemotleft, leftdoublequotemark ] };
277    key <AE12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] };
278
279    key <AD01> { [dead_acute, dead_diaeresis, apostrophe,        quotedbl ] };
280    key <AD02> { [     comma,       less,      ccedilla,         Ccedilla ] };
281    key <AD03> { [    period,    greater, dead_abovedot,       dead_caron ] };
282    key <AD04> { [	   p,          P,    odiaeresis,       Odiaeresis ] };
283    key <AD05> { [	   y,          Y,    udiaeresis,       Udiaeresis ] };
284    // key <AD06> { [	   f,	F		]	};
285    // key <AD07> { [	   g,	G		]	};
286    key <AD08> { [	   c,          C,     copyright,             cent ] };
287    key <AD09> { [	   r,          R,    registered,       registered ] };
288    key <AD10> { [	   l,          L,        oslash,         Ooblique ] };
289    key <AD11> { [     slash,   question,  questiondown,        dead_hook ] };
290    // key <AD12> { [     equal,       plus,      multiply,         division ] };
291
292    key <AC01> { [	   a,          A,        aacute,           Aacute ] };
293    key <AC02> { [	   o,          O,        oacute,           Oacute ] };
294    key <AC03> { [	   e,          E,        eacute,           Eacute ] };
295    key <AC04> { [	   u,          U,        uacute,           Uacute ] };
296    key <AC05> { [	   i,          I,        iacute,           Iacute ] };
297    key <AC06> { [	   d,          D,           eth,              ETH ] };
298    // key <AC07> { [	   h,	H		]	};
299    key <AC08> { [	   t,          T,         thorn,            THORN ] };
300    key <AC09> { [	   n,          N,        ntilde,           Ntilde ] };
301    key <AC10> { [	   s,          S,        ssharp,          section ] };
302    // key <AC11> { [     minus, underscore,           yen,    dead_belowdot ] };
303
304    key <AB01> { [ semicolon,      colon,     paragraph,           degree ] };
305    key <AB02> { [	   q,          Q,    adiaeresis,       Adiaeresis ] };
306    // key <AB03> { [	   j,	J		]	};
307    key <AB04> { [	   k,          K,            oe,               OE ] };
308    // key <AB05> { [	   x,	X		]	};
309    // key <AB06> { [	   b,	B		]	};
310    key <AB07> { [	   m,          M,            mu,               mu ] };
311    key <AB08> { [	   w,          W,         aring,            Aring ] };
312    // key <AB09> { [	   v,	V		]	};
313    key <AB10> { [	   z,          Z,            ae,               AE ] };
314
315    key <BKSL> { [ backslash,        bar,       notsign,        brokenbar ] };
316
317    include "level3(ralt_switch)"
318};
319
320// Dvorak international without dead keys
321// Stephane Magnenat (stephane at magnenat dot net, http://stephane.magnenat.net)
322// Based on information from http://www.poupinou.org/dvorak/index.html
323//
324//  `   1   2   3   4   5   6   7   8   9   0   [   ]   \
325//                  €
326//
327//      '   ,   .   p   y   f   g   c   r   l   /   =
328//          ä   ê   ë   ü           ç
329//
330//      a   o   e   u   i   d   h   t   n   s   -
331//      à   ô   é   û   î                   ß
332//
333//      ;   q   j   k   x   b   m   w   v   z
334//      â   ö   è   ù   ï
335
336partial alphanumeric_keys
337xkb_symbols "dvorak-alt-intl" {
338
339    name[Group1]= "English (Dvorak alternative international no dead keys)";
340
341    include "us(dvorak)"
342
343    key <AE04> { [         4,  dollar,    EuroSign ] };
344
345    key <AD02> { [     comma,    less,  adiaeresis,       dead_caron ] };
346    key <AD03> { [    period, greater, ecircumflex,   periodcentered	] };
347    key <AD04> { [         p,       P,  ediaeresis,     dead_cedilla ] };
348    key <AD05> { [         y,       Y,  udiaeresis ] };
349    key <AD08> { [         c,       C,    ccedilla,    dead_abovedot ] };
350
351    key <AC01> { [         a,       A,      agrave ] };
352    key <AC02> { [         o,       O, ocircumflex ] };
353    key <AC03> { [         e,       E,      eacute ] };
354    key <AC04> { [         u,       U, ucircumflex ] };
355    key <AC05> { [         i,       I, icircumflex ] };
356    key <AC10> { [         s,       S,      ssharp ] };
357
358    key <AB01> { [ semicolon,   colon, acircumflex ] };
359    key <AB02> { [         q,       Q,  odiaeresis,      dead_ogonek ] };
360    key <AB03> { [         j,       J,      egrave, dead_doubleacute ] };
361    key <AB04> { [         k,       K,      ugrave ] };
362    key <AB05> { [         x,       X,  idiaeresis ] };
363
364    include "level3(ralt_switch)"
365};
366
367// Left and right handed dvorak layouts
368// by sqweek <sqweek@gmail.com> 2006-01-30
369// Based on the corresponding layouts in the console-tools package.
370partial alphanumeric_keys
371xkb_symbols "dvorak-l" {
372
373    include "us(dvorak)"
374    name[Group1]= "English (left handed Dvorak)";
375
376    key <AE01> {	[ bracketleft,	braceleft	]	};
377    key <AE02> {	[ bracketright,	braceright	]	};
378    key <AE03> {	[	slash,	question	]	};
379    key <AE04> {	[	    p,	P		]	};
380    key <AE05> {	[	    f,	F		]	};
381    key <AE06> {	[	    m,	M		]	};
382    key <AE07> {	[	    l,	L		]	};
383    key <AE08> {	[	    j,	J		]	};
384    key <AE09> {	[	    4,	dollar		]	};
385    key <AE10> {	[	    3,	numbersign	]	};
386    key <AE11> {	[	    2,	at		]	};
387    key <AE12> {	[	    1,	exclam 		]	};
388
389    key <AD01> {	[   semicolon,	colon 		]	};
390    key <AD02> {	[	    q,	Q		]	};
391    key <AD03> {	[	    b,	B		]	};
392    key <AD04> {	[	    y,	Y		]	};
393    key <AD05> {	[	    u,	U		]	};
394    key <AD06> {	[	    r,	R		]	};
395    key <AD07> {	[	    s,	S		]	};
396    key <AD08> {	[	    o,	O		]	};
397    key <AD09> {	[      period,	greater		]	};
398    key <AD10> {	[	    6,	asciicircum	]	};
399    key <AD11> {	[	    5,	percent		]	};
400    key <AD12> {	[	equal,	plus		]	};
401
402    key <AC01> {	[	minus,	underscore	]	};
403    key <AC02> {	[	    k,	K		]	};
404    key <AC03> {	[	    c,	C		]	};
405    key <AC04> {	[	    d,	D		]	};
406    key <AC05> {	[	    t,	T		]	};
407    key <AC06> {	[	    h,	H		]	};
408    key <AC07> {	[	    e,	E		]	};
409    key <AC08> {	[	    a,	A 		]	};
410    key <AC09> {	[	    z,	Z		]	};
411    key <AC10> {	[	    8,	asterisk	]	};
412    key <AC11> {	[	    7,	ampersand	]	};
413
414    key <AB01> {	[  apostrophe,	quotedbl	] 	};
415    key <AB02> {	[	    x,	X		]	};
416    key <AB03> {	[	    g,	G		]	};
417    key <AB04> {	[	    v,	V		]	};
418    key <AB05> {	[	    w,	W		]	};
419    key <AB06> {	[	    n,	N		]	};
420    key <AB07> {	[	    i,	I		]	};
421    key <AB08> {	[	comma,	less		]	};
422    key <AB09> {	[	    0,	parenright	]	};
423    key <AB10> {	[	    9,	parenleft	]	};
424};
425
426partial alphanumeric_keys
427xkb_symbols "dvorak-r" {
428
429    include "us(dvorak)"
430    name[Group1]= "English (right handed Dvorak)";
431
432    key <AE01> {	[	    1,	exclam 		]	};
433    key <AE02> {	[	    2,	at		]	};
434    key <AE03> {	[	    3,	numbersign	]	};
435    key <AE04> {	[	    4,	dollar		]	};
436    key <AE05> {	[	    j,	J		]	};
437    key <AE06> {	[	    l,	L		]	};
438    key <AE07> {	[	    m,	M		]	};
439    key <AE08> {	[	    f,	F		]	};
440    key <AE09> {	[	    p,	P		]	};
441    key <AE10> {	[	slash,	question	]	};
442    key <AE11> {	[ bracketleft,	braceleft	]	};
443    key <AE12> {	[ bracketright,	braceright	]	};
444
445    key <AD01> {	[	    5,	percent		]	};
446    key <AD02> {	[	    6,	asciicircum ]	};
447    key <AD03> {	[	    q,	Q		]	};
448    key <AD04> {	[      period,	greater		]	};
449    key <AD05> {	[	    o,	O		]	};
450    key <AD06> {	[	    r,	R		]	};
451    key <AD07> {	[	    s,	S		]	};
452    key <AD08> {	[	    u,	U		]	};
453    key <AD09> {	[	    y,	Y		]	};
454    key <AD10> {	[	    b,	B		]	};
455    key <AD11> {	[   semicolon,	colon 		]	};
456    key <AD12> {	[	equal,	plus		]	};
457
458    key <AC01> {	[	    7,	ampersand	]	};
459    key <AC02> {	[	    8,	asterisk	]	};
460    key <AC03> {	[	    z,	Z		]	};
461    key <AC04> {	[	    a,	A 		]	};
462    key <AC05> {	[	    e,	E		]	};
463    key <AC06> {	[	    h,	H		]	};
464    key <AC07> {	[	    t,	T		]	};
465    key <AC08> {	[	    d,	D		]	};
466    key <AC09> {	[	    c,	C		]	};
467    key <AC10> {	[	    k,	K		]	};
468    key <AC11> {	[	minus,	underscore	]	};
469
470    key <AB01> {	[	    9,	parenleft	]	};
471    key <AB02> {	[	    0,	parenright	]	};
472    key <AB03> {	[	    x,	X		]	};
473    key <AB04> {	[	comma,	less		]	};
474    key <AB05> {	[	    i,	I		]	};
475    key <AB06> {	[	    n,	N		]	};
476    key <AB07> {	[	    w,	W		]	};
477    key <AB08> {	[	    v,	V		]	};
478    key <AB09> {	[	    g,	G		]	};
479    key <AB10> {	[  apostrophe,	quotedbl	] 	};
480};
481
482// Classic dvorak layout
483// by Piter Punk <piterpk@terra.com.br> - 2006-07-06 
484// Based on dvorak layout and e-mail from Russel L. Harris rlharris@oplink.net 
485// on xorg list.
486partial alphanumeric_keys
487xkb_symbols "dvorak-classic" {
488
489    name[Group1]= "English (classic Dvorak)";
490
491    key <TLDE> { [       grave,	asciitilde, dead_grave, dead_tilde	] };
492
493    key <AE01> { [ bracketleft,	braceleft	]	};
494    key <AE02> { [	    7,	ampersand	]	};
495    key <AE03> { [	    5,	percent		]	};
496    key <AE04> { [	    3,	numbersign	]	};
497    key <AE05> { [	    1,	exclam 		]	};
498    key <AE06> { [	    9,	parenleft,  dead_grave]	};
499    key <AE07> { [	    0,	parenright	]	};
500    key <AE08> { [	    2,	at		]	};
501    key <AE09> { [	    4,	dollar		]	};
502    key <AE10> { [	    6,	asciicircum, dead_circumflex, dead_circumflex ]	};
503    key <AE11> { [	    8,	asterisk	]	};
504    key <AE12> { [ bracketright, braceright,  dead_tilde] };
505
506    key <AD01> { [	slash,	question	]	};
507    key <AD02> { [	comma,	less,   dead_cedilla, dead_caron	] };
508    key <AD03> { [      period,	greater, dead_abovedot, periodcentered	] };
509    key <AD04> { [	    p,	P		]	};
510    key <AD05> { [	    y,	Y		]	};
511    key <AD06> { [	    f,	F		]	};
512    key <AD07> { [	    g,	G		]	};
513    key <AD08> { [	    c,	C		]	};
514    key <AD09> { [	    r,	R		]	};
515    key <AD10> { [	    l,	L		]	};
516    key <AD11> { [  apostrophe,	quotedbl, dead_acute, dead_diaeresis	] };
517    key <AD12> { [	equal,	plus		]	};
518
519    key <AC01> { [	    a,	A 		]	};
520    key <AC02> { [	    o,	O		]	};
521    key <AC03> { [	    e,	E		]	};
522    key <AC04> { [	    u,	U		]	};
523    key <AC05> { [	    i,	I		]	};
524    key <AC06> { [	    d,	D		]	};
525    key <AC07> { [	    h,	H		]	};
526    key <AC08> { [	    t,	T		]	};
527    key <AC09> { [	    n,	N		]	};
528    key <AC10> { [	    s,	S		]	};
529    key <AC11> { [	minus,	underscore	]	};
530
531    key <AB01> { [   semicolon,	colon, dead_ogonek, dead_doubleacute ] };
532    key <AB02> { [	    q,	Q		]	};
533    key <AB03> { [	    j,	J		]	};
534    key <AB04> { [	    k,	K		]	};
535    key <AB05> { [	    x,	X		]	};
536    key <AB06> { [	    b,	B		]	};
537    key <AB07> { [	    m,	M		]	};
538    key <AB08> { [	    w,	W		]	};
539    key <AB09> { [	    v,	V		]	};
540    key <AB10> { [	    z,	Z		]	};
541    key <BKSL> { [  backslash,  bar             ]       };
542};
543
544// Programmer Dvorak, by Roland Kaufmann <rlndkfmn at gmail dot com>
545// License: BSD, available at <http://www.kaufmann.no/roland/dvorak/license.html>
546// Main features: Numbers are in shift position (like French), symbols have been
547// placed in locations that give good hand-alternation and finger rolling with
548// symbols that usually follows, accented characters are possible for I18N.
549partial alphanumeric_keys
550xkb_symbols "dvp" {
551    include "us(dvorak)"
552
553    name[Group1] = "English (programmer Dvorak)";
554
555    //             Unmodified       Shift           AltGr            Shift+AltGr
556    // symbols row, left side
557    key <TLDE> { [ dollar,          asciitilde,     dead_tilde                  ] };
558    key <AE01> { [ ampersand,       percent                                     ] };
559    key <AE02> { [ bracketleft,     7,              currency                    ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
560    key <AE03> { [ braceleft,       5,              cent                        ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
561    key <AE04> { [ braceright,      3,              yen                         ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
562    key <AE05> { [ parenleft,       1,              EuroSign                    ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
563    key <AE06> { [ equal,           9,              sterling                    ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
564
565    // symbols row, right side
566    key <AE07> { [ asterisk,        0                                           ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
567    key <AE08> { [ parenright,      2,              onehalf                     ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
568    key <AE09> { [ plus,            4                                           ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
569    key <AE10> { [ bracketright,    6                                           ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
570    key <AE11> { [ exclam,          8,              exclamdown,      U2E18      ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };  // reversed interrobang
571    key <AE12> { [ numbersign,      grave,          dead_grave                  ] };
572    key <BKSP> { [ BackSpace,       BackSpace                                   ] };
573
574    // upper row, left side
575    key <AD01> { [ semicolon,       colon,          dead_diaeresis              ] };
576    key <AD02> { [ comma,           less,           guillemotleft,   ellipsis   ] };
577    key <AD03> { [ period,          greater,        guillemotright              ] };
578    key <AD04> { [ p,               P,              paragraph,       section    ] };
579    key <AD05> { [ y,               Y,              udiaeresis,      Udiaeresis ] };
580
581    // upper row, right side
582    key <AD08> { [ c,               C,              ccedilla,        Ccedilla   ] };
583    key <AD09> { [ r,               R,              registered,      trademark  ] };
584    key <AD11> { [ slash,           question,       questiondown,    U203D      ] };  // interrobang
585    key <AD12> { [ at,              asciicircum,    dead_circumflex, dead_caron ] };
586
587    // home row, left side
588    key <AC01> { [ a,               A,              aring,           Aring      ] };
589    key <AC02> { [ o,               O,              oslash,          Ooblique   ] };
590    key <AC03> { [ e,               E,              ae,              AE         ] };
591    key <AC04> { [ u,               U,              eacute,          Eacute     ] };
592
593    // home row, right side
594    key <AC06> { [ d,               D,              eth,             ETH        ] };
595    key <AC07> { [ h,               H,              dead_acute                  ] };
596    key <AC08> { [ t,               T,              thorn,           THORN      ] };
597    key <AC09> { [ n,               N,              ntilde,          Ntilde     ] };
598    key <AC10> { [ s,               S,              ssharp                      ] };
599    key <AC11> { [ minus,           underscore,     hyphen,          endash     ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
600    key <BKSL> { [ backslash,       bar                                         ] };
601
602    // lower row, left side
603    key <AB01> { [ apostrophe,      quotedbl,       dead_acute                  ] };
604    key <AB07> { [ m,               M,              mu                          ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
605
606    include "level3(ralt_switch)"
607};
608
609// phonetic layout for Russian letters on an US keyboard
610// by Ivan Popov <pin@konvalo.org> 2005-07-17
611
612// level3 modifier is a shortcut to the "us" meaning of the keys where
613// we place cyrillic letters, handy for accessing the corresponding
614// punctuation marks.
615// It is important to have access to punctuation marks, and the rest of
616// alphabetical keys are added for being consequent so that the users
617// can expect the level3 modifier to give what the key label shows.
618
619partial alphanumeric_keys
620xkb_symbols "rus" {
621
622    name[Group1]= "Russian (US, phonetic)";
623
624    include "us(basic)"
625
626key.type[group1]="FOUR_LEVEL_ALPHABETIC";
627
628    key	<LatA> {	[ Cyrillic_a, Cyrillic_A ]	};
629    key	<LatB> {	[ Cyrillic_be, Cyrillic_BE ]	};
630    key	<LatW> {	[ Cyrillic_ve, Cyrillic_VE ]	};
631    key	<LatG> {	[ Cyrillic_ghe, Cyrillic_GHE ]	};
632    key	<LatD> {	[ Cyrillic_de, Cyrillic_DE ]	};
633    key	<LatE> {	[ Cyrillic_ie, Cyrillic_IE ]	};
634    key	<TLDE> {	[ Cyrillic_io, Cyrillic_IO, grave, asciitilde ] };
635    key	<LatV> {	[ Cyrillic_zhe, Cyrillic_ZHE ]	};
636    key	<LatZ> {	[ Cyrillic_ze, Cyrillic_ZE ]	};
637    key	<LatI> {	[ Cyrillic_i, Cyrillic_I ]	};
638    key	<LatJ> {	[ Cyrillic_shorti, Cyrillic_SHORTI ]	};
639    key	<LatK> {	[ Cyrillic_ka, Cyrillic_KA ]	};
640    key	<LatL> {	[ Cyrillic_el, Cyrillic_EL ]	};
641    key	<LatM> {	[ Cyrillic_em, Cyrillic_EM ]	};
642    key	<LatN> {	[ Cyrillic_en, Cyrillic_EN ]	};
643    key	<LatO> {	[ Cyrillic_o, Cyrillic_O ]	};
644    key	<LatP> {	[ Cyrillic_pe, Cyrillic_PE ]	};
645    key	<LatR> {	[ Cyrillic_er, Cyrillic_ER ]	};
646    key	<LatS> {	[ Cyrillic_es, Cyrillic_ES ]	};
647    key	<LatT> {	[ Cyrillic_te, Cyrillic_TE ]	};
648    key	<LatU> {	[ Cyrillic_u, Cyrillic_U ]	};
649    key	<LatF> {	[ Cyrillic_ef, Cyrillic_EF ]	};
650    key	<LatH> {	[ Cyrillic_ha, Cyrillic_HA ]	};
651    key	<LatC> {	[ Cyrillic_tse, Cyrillic_TSE ]	};
652    key <AC10> {        [ Cyrillic_che, Cyrillic_CHE, semicolon, colon ] };
653    key	<AD11> {	[ Cyrillic_sha, Cyrillic_SHA, bracketleft, braceleft] };
654    key	<AD12> {	[ Cyrillic_shcha, Cyrillic_SHCHA, bracketright, braceright ]	};
655    key <AE12> {        [ Cyrillic_hardsign, Cyrillic_HARDSIGN, equal, plus ] };
656    key	<LatY> {	[ Cyrillic_yeru, Cyrillic_YERU ]	};
657    key	<LatX> {	[ Cyrillic_softsign, Cyrillic_SOFTSIGN ]	};
658    key	<BKSL> {	[ Cyrillic_e, Cyrillic_E, backslash, bar ]	};
659    key <AC11> {        [ Cyrillic_yu, Cyrillic_YU, apostrophe, quotedbl ] };
660    key	<LatQ> {	[ Cyrillic_ya, Cyrillic_YA ]	};
661
662    include "level3(ralt_switch)"
663};
664
665partial alphanumeric_keys
666xkb_symbols "mac" {
667
668    include "us(basic)"
669    name[Group1]= "English (Macintosh)";
670    key.type[group1]="FOUR_LEVEL";
671
672    // Slightly improvised from http://homepage.mac.com/thgewecke/kblayout.jpg
673    key <LSGT> { [   section,  plusminus,       section,        plusminus ] };
674    key <TLDE> { [     grave, asciitilde,    dead_grave,        dead_horn ] };
675    key <AE01> { [	   1,     exclam,    exclamdown,            U2044 ] };
676    key <AE02> { [	   2,         at,     trademark,         EuroSign ] };
677    key <AE03> { [	   3, numbersign,      sterling,            U2039 ] };
678    key <AE04> { [	   4,     dollar,          cent,            U203A ] };
679    key <AE05> { [	   5,    percent,      infinity,            UFB01 ] };
680    key <AE06> { [         6,asciicircum,       section,            UFB02 ] };
681    key <AE07> { [	   7,  ampersand,     paragraph,     doubledagger ] };
682    key <AE08> { [	   8,   asterisk, enfilledcircbullet,      degree ] };
683    key <AE09> { [	   9,  parenleft,   ordfeminine,   periodcentered ] };
684    key <AE10> { [	   0, parenright,     masculine,singlelowquotemark] };
685    key <AE11> { [     minus, underscore,        endash,           emdash ] };
686    key <AE12> { [     equal,       plus,      notequal,        plusminus ] };
687
688    key <AD01> { [	   q,          Q,            oe,               OE ] };
689    key <AD02> { [	   w,          W,         U2211,doublelowquotemark] };
690    key <AD03> { [	   e,          E,    dead_acute,            acute ] };
691    key <AD04> { [	   r,          R,    registered,            U2030 ] };
692    key <AD05> { [	   t,          T,        dagger,       dead_caron ] };
693    key <AD06> { [	   y,          Y,           yen,       onequarter ] };
694    key <AD07> { [	   u,        U,  dead_diaeresis,        diaeresis ] };
695    key <AD08> { [	   i,        I, dead_circumflex,            U02C6 ] };
696    key <AD09> { [	   o,          O,        oslash,         Ooblique ] };
697    key <AD10> { [	   p,          P,      Greek_pi,            U220F ] };
698    key <AD11> { [ bracketleft,  braceleft, leftdoublequotemark, rightdoublequotemark ] };
699    key <AD12> { [bracketright, braceright, leftsinglequotemark, rightsinglequotemark ] };
700    key <BKSL> { [ backslash,        bar, guillemotleft,   guillemotright ] };
701
702    key <AC01> { [	   a,          A,         aring,            Aring ] };
703    key <AC02> { [	   s,          S,        ssharp,      dead_stroke ] };
704    key <AC03> { [	   d,          D, partialderivative,          eth ] };
705    key <AC04> { [	   f,          F,      function,        dead_hook ] };
706    key <AC05> { [	   g,          G,     copyright, dead_doubleacute ] };
707    key <AC06> { [	   h,          H, dead_abovedot,    dead_belowdot ] };
708    key <AC07> { [	   j,          J,         U2206,          onehalf ] };
709    key <AC08> { [	   k,          K,dead_abovering,            UF8FF ] };
710
711    key <AC09> { [	   l,          L,       notsign,            THORN ] };
712    key <AC10> { [ semicolon,      colon,         U2026,            thorn ] };
713    key <AC11> { [apostrophe,   quotedbl,            ae,               AE ] };
714
715    key <AB01> { [	   z,          Z,   Greek_OMEGA,     dead_cedilla ] };
716    key <AB02> { [	   x,          X,         U2248,      dead_ogonek ] };
717				// unclear whether "approxeq" is 2248 or 2245
718    key <AB03> { [	   c,          C,      ccedilla,         Ccedilla ] };
719    key <AB04> { [	   v,          V,    squareroot,            U25CA ] };
720    key <AB05> { [	   b,          B,      integral,         idotless ] };
721    key <AB06> { [	   n,          N,    dead_tilde,            U02DC ] };
722    key <AB07> { [	   m,          M,            mu,    threequarters ] };
723    key <AB08> { [     comma,       less, lessthanequal,      dead_macron ] };
724    key <AB09> { [    period,    greater, greaterthanequal,    dead_breve ] };
725    key <AB10> { [     slash,   question,      division,     questiondown ] };
726
727    include "level3(ralt_switch)"
728};
729
730// Colemak symbols for xkb on X.Org Server 7.x
731// 2006-01-01 Shai Coleman, http://colemak.com/
732
733partial alphanumeric_keys
734xkb_symbols "colemak" {
735    include "us"
736    name[Group1]= "English (Colemak)";
737
738    key <TLDE> { [        grave,   asciitilde,      dead_tilde,       asciitilde ] };
739    key <AE01> { [            1,       exclam,      exclamdown,      onesuperior ] };
740    key <AE02> { [            2,           at,       masculine,      twosuperior ] };
741    key <AE03> { [            3,   numbersign,     ordfeminine,    threesuperior ] };
742    key <AE04> { [            4,       dollar,            cent,         sterling ] };
743    key <AE05> { [            5,      percent,        EuroSign,              yen ] };
744    key <AE06> { [            6,  asciicircum,         hstroke,          Hstroke ] };
745    key <AE07> { [            7,    ampersand,             eth,              ETH ] };
746    key <AE08> { [            8,     asterisk,           thorn,            THORN ] };
747    key <AE09> { [            9,    parenleft,  leftsinglequotemark,  leftdoublequotemark ] };
748    key <AE10> { [            0,   parenright, rightsinglequotemark,  rightdoublequotemark ] };
749    key <AE11> { [        minus,   underscore,          endash,           emdash ] };
750    key <AE12> { [        equal,         plus,        multiply,         division ] };
751
752    key <AD01> { [            q,            Q,      adiaeresis,       Adiaeresis ] };
753    key <AD02> { [            w,            W,           aring,            Aring ] };
754    key <AD03> { [            f,            F,          atilde,           Atilde ] };
755    key <AD04> { [            p,            P,          oslash,         Ooblique ] };
756    key <AD05> { [            g,            G,     dead_ogonek,       asciitilde ] };
757    key <AD06> { [            j,            J,         dstroke,          Dstroke ] };
758    key <AD07> { [            l,            L,         lstroke,          Lstroke ] };
759    key <AD08> { [            u,            U,          uacute,           Uacute ] };
760    key <AD09> { [            y,            Y,      udiaeresis,       Udiaeresis ] };
761    key <AD10> { [    semicolon,        colon,      odiaeresis,       Odiaeresis ] };
762    key <AD11> { [  bracketleft,    braceleft,   guillemotleft,        0x1002039 ] };
763    key <AD12> { [ bracketright,   braceright,  guillemotright,        0x100203a ] };
764    key <BKSL> { [    backslash,          bar,      asciitilde,       asciitilde ] };
765
766    key <AC01> { [            a,            A,          aacute,           Aacute ] };
767    key <AC02> { [            r,            R,      dead_grave,       asciitilde ] };
768    key <AC03> { [            s,            S,          ssharp,       asciitilde ] };
769    key <AC04> { [            t,            T,      dead_acute, dead_doubleacute ] };
770    key <AC05> { [            d,            D,  dead_diaeresis,       asciitilde ] };
771    key <AC06> { [            h,            H,      dead_caron,       asciitilde ] };
772    key <AC07> { [            n,            N,          ntilde,           Ntilde ] };
773    key <AC08> { [            e,            E,          eacute,           Eacute ] };
774    key <AC09> { [            i,            I,          iacute,           Iacute ] };
775    key <AC10> { [            o,            O,          oacute,           Oacute ] };
776    key <AC11> { [   apostrophe,     quotedbl,          otilde,           Otilde ] };
777
778    key <AB01> { [            z,            Z,              ae,               AE ] };
779    key <AB02> { [            x,            X, dead_circumflex,       asciitilde ] };
780    key <AB03> { [            c,            C,        ccedilla,         Ccedilla ] };
781    key <AB04> { [            v,            V,              oe,               OE ] };
782    key <AB05> { [            b,            B,      dead_breve,       asciitilde ] };
783    key <AB06> { [            k,            K,  dead_abovering,       asciitilde ] };
784    key <AB07> { [            m,            M,     dead_macron,       asciitilde ] };
785    key <AB08> { [        comma,         less,    dead_cedilla,       asciitilde ] };
786    key <AB09> { [       period,      greater,   dead_abovedot,       asciitilde ] };
787    key <AB10> { [        slash,     question,    questiondown,       asciitilde ] };
788
789    key <CAPS> { [    BackSpace,    BackSpace,       BackSpace,        BackSpace ] };
790    key <LSGT> { [        minus,   underscore,          endash,           emdash ] };
791    key <SPCE> { [        space,        space,           space,     nobreakspace ] };
792
793    include "level3(ralt_switch)"
794};
795
796// I do NOT like dead-keys - the International keyboard as defined by Microsoft
797// doesn't fit my needs. Why use two keystrokes for all simple characters (eg '
798// and <space> generates a single ') just to have an é (eacute) in two strokes
799// as well? I type ' more often than é (eacute).
800//
801// This file works just like a regular keyboard, BUT has all dead-keys
802// accessible at level3 (through AltGr). An ë (ediaeresis) is now: AltGr+"
803// followed by an e. In other words, this keyboard is not international as long
804// as you leave the right Alt key alone.
805//
806// The original MS International keyboard was intended for Latin1 (iso8859-1).
807// With the introduction of iso8859-15, the (important) ligature oe (and OE)
808// became available. I added them next to ae. Because I write ediaeresis more
809// often than registered, I moved registered to be next to copyright and added
810// ediaeresis and idiaeresis. - Adriaan
811
812partial alphanumeric_keys
813xkb_symbols "altgr-intl" {
814
815   name[Group1]= "English (international AltGr dead keys)";
816
817   include "us(intl)"
818
819// five dead keys moved into level3:
820
821   key <TLDE> { [    grave, asciitilde,  dead_grave,   dead_tilde      ] };
822   key <AC11> { [apostrophe,quotedbl,    dead_acute,   dead_diaeresis  ] };
823
824// diversions from the MS Intl keyboard:
825
826   key <AE01> { [        1, exclam,      onesuperior,  exclamdown      ] };
827   key <AD04> { [        r, R,           ediaeresis,   Ediaeresis      ] };
828   key <AC07> { [        j, J,           idiaeresis,   Idiaeresis      ] };
829   key <AB02> { [        x, X,           oe,           OE              ] };
830   key <AB04> { [        v, V,           registered,   registered      ] };
831
832// onequarter etc (not in iso8859-15) moved to get three unshifted deadkeys:
833
834   key <AE06> { [        6, asciicircum, dead_circumflex, onequarter    ] };
835   key <AE07> { [        7, ampersand,   dead_horn,       onehalf       ] };
836   key <AE08> { [        8, asterisk,    dead_ogonek,     threequarters ] };
837
838   include "level3(ralt_switch)"
839};
840
841// Intel ClassmatePC Keyboard Layout
842// by Piter PUNK <piterpk@terra.com.br>
843//
844// The keyboard layouts below maps the us(basic), us(intl) and us(alt-intl)
845// to ClassmatePC keyboard. All layouts uses RCTL as level3(switch) since
846// the keyboard doesn't have AltGr key. The EuroSign is engraved at 5 key.
847
848// classmate - us(basic)
849partial alphanumeric_keys
850xkb_symbols "classmate" {
851    include "us(basic)"
852    name[Group1]= "English (US)";
853
854    key <LSGT> { [ backslash,	bar,		backslash,	bar ] };
855
856    include "eurosign(5)"
857    include "level3(switch)"
858};
859
860// classmate-intl - us(intl)
861// RCTL is generated by Fn+Alt, because that, when trying to access
862// the level3 symbols at 7,8,9,0,u,i,o,p,j,k,l,;,m,. and / we got
863// the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key>
864// generate the same symbol as the original key.
865partial alphanumeric_keys
866xkb_symbols "classmate-intl" {
867    include "us(intl)"
868    name[Group1]= "USA - ClassmatePC (International)";
869    key.type[Group1]="FOUR_LEVEL";
870
871    key <LSGT> { [ backslash,	bar,		backslash,	bar ] };
872
873    key <KP7>  { [	KP_Home,		KP_7,	
874			onehalf,		dead_horn	] };
875    key <KP8>  { [	KP_Up,			KP_8,
876			threequarters,		dead_ogonek	] };
877    key <KP9>  { [	KP_Prior,		KP_9,
878			leftsinglequotemark,	dead_breve	] };
879    key <KPMU> { [ 	KP_Multiply,		KP_Multiply,
880			rightsinglequotemark,	dead_abovering	] };
881
882    key <KP4>  { [	KP_Left,		KP_4,
883			uacute,			Uacute		] };
884    key <KP5>  { [	KP_Begin,		KP_5,
885			iacute,			Iacute		] };
886    key <KP6>  { [	KP_Right,		KP_6,
887			oacute,			Oacute		] };
888    key <KPSU> { [	KP_Subtract,		KP_Subtract,
889			odiaeresis,		Odiaeresis	] };
890
891    key <KP2>  { [	KP_Down,		KP_2,
892			oe,			OE		] };
893    key <KP3>  { [	KP_Next,		KP_3,
894			oslash,			Ooblique	] };
895    key <KPAD> { [ 	KP_Add,     		KP_Add,
896			paragraph,		degree          ] };
897
898    key <KP0>  { [	KP_Insert,		KP_0,
899			mu,			mu	] };
900    key <KPDL> { [	KP_Delete,		KP_Decimal,
901			dead_abovedot,		dead_caron	] };
902    key <KPDV> { [ 	KP_Divide,   		KP_Divide,
903			questiondown,		dead_hook       ] };
904
905    include "level3(switch)"
906};
907
908// classmate-alt-intl - us(alt-intl)
909// RCTL is generated by Fn+Alt, because that, when trying to access
910// the level3 symbols at 7,8,9,0,u,i,o,p,j,k,l,;,m,. and / we got
911// the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key>
912// generate the same symbol as the original key.
913partial alphanumeric_keys
914xkb_symbols "classmate-alt-intl" {
915    include "us(alt-intl)"
916    name[Group1]= "USA - ClassmatePC (Alternative international)";
917    key.type[Group1]="FOUR_LEVEL";
918
919    key <LSGT> { [ backslash,	bar,		backslash,	bar ] };
920
921    key <KPSU> { [	KP_Subtract,		KP_Subtract	] };
922
923    key <KP9>  { [	KP_Prior,		KP_9,
924			leftsinglequotemark,	dead_breve	] };
925    key <KPMU> { [ 	KP_Multiply,		KP_Multiply,
926			rightsinglequotemark,	dead_abovering	] };
927
928    key <KPAD> { [ 	KP_Add,     		KP_Add,
929			dead_ogonek,		dead_diaeresis   ] };
930
931    key <KPDL> { [	KP_Delete,		KP_Decimal,
932			dead_abovedot,		dead_circumflex	] };
933    key <KPDV> { [ 	KP_Divide,   		KP_Divide,
934			dead_hook,		dead_hook       ] };
935
936    include "level3(switch)"
937};
938
939// classmate-altgr-intl - us(altgr-intl)
940// RCTL is generated by Fn+Alt, because that, when trying to access
941// the level3 symbols at 7,8,9,0,u,i,o,p,j,k,l,;,m,. and / we got
942// the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key>
943// generate the same symbol as the original key.
944partial alphanumeric_keys
945xkb_symbols "classmate-altgr-intl" {
946    include "us(altgr-intl)"
947    name[Group1]= "USA - ClassmatePC (International Fn+Alt dead-keys)";
948    key.type[Group1]="FOUR_LEVEL";
949
950    key <LSGT> { [ backslash,	bar,		backslash,	bar ] };
951
952    key <KP7>  { [	KP_Home,		KP_7,	
953			dead_horn,		dead_horn	] };
954    key <KP8>  { [	KP_Up,			KP_8,
955			dead_ogonek,		dead_ogonek	] };
956    key <KP9>  { [	KP_Prior,		KP_9,
957			leftsinglequotemark,	dead_breve	] };
958    key <KPMU> { [ 	KP_Multiply,		KP_Multiply,
959			rightsinglequotemark,	dead_abovering	] };
960
961    key <KP4>  { [	KP_Left,		KP_4,
962			uacute,			Uacute		] };
963    key <KP5>  { [	KP_Begin,		KP_5,
964			iacute,			Iacute		] };
965    key <KP6>  { [	KP_Right,		KP_6,
966			oacute,			Oacute		] };
967    key <KPSU> { [	KP_Subtract,		KP_Subtract,
968			odiaeresis,		Odiaeresis	] };
969
970    key <KP1>  { [	KP_End,			KP_1,
971			idiaeresis,		Idiaeresis	] };
972    key <KP2>  { [	KP_Down,		KP_2,
973			oe,			OE		] };
974    key <KP3>  { [	KP_Next,		KP_3,
975			oslash,			Ooblique	] };
976    key <KPAD> { [ 	KP_Add,     		KP_Add,
977			paragraph,		degree          ] };
978
979    key <KP0>  { [	KP_Insert,		KP_0,
980			mu,			mu	] };
981    key <KPDL> { [	KP_Delete,		KP_Decimal,
982			dead_abovedot,		dead_caron	] };
983    key <KPDV> { [ 	KP_Divide,   		KP_Divide,
984			questiondown,		dead_hook       ] };
985
986    include "level3(switch)"
987};
988
989partial alphanumeric_keys
990xkb_symbols "olpc" {
991
992   include "us(basic)"
993   name[Group1]= "English (US)";
994
995   // OLPC international US English keyboard layout.
996   // It's a little different from the usual international layout.
997   // See: http://wiki.laptop.org/go/Image:Keyboard_english.png
998
999   key <TLDE> { [     grave, asciitilde,    dead_grave, dead_tilde ] };
1000   key <AE01> { [         1,     exclam,    exclamdown, exclamdown ] };
1001   key <AE02> { [         2,         at,       notsign,    notsign ] };
1002   key <AE03> { [         3, numbersign,     0x1000300,  0x1000300 ] }; // combining grave
1003   key <AE04> { [         4,     dollar,     0x1000301,  0x1000301 ] }; // combining acute
1004   key <AE05> { [         5,    percent,     0x1000306,  0x1000306 ] }; // combining breve above
1005   key <AE06> { [         6,asciicircum,     0x100030A,  0x100030A ] }; // combining ring above
1006   key <AE07> { [         7,  ampersand,     0x1000302,  0x1000302 ] }; // combining circumflex above
1007   key <AE08> { [         8,   asterisk,     0x100030C,  0x100030C ] }; // combining caron above
1008   key <AE09> { [         9,  parenleft,     0x1000307,  0x1000307 ] }; // combining dot above
1009   key <AE10> { [         0, parenright,     0x1000308,  0x1000308 ] }; // combining diaeresis above
1010   key <AE11> { [     minus, underscore,     0x1000304,  0x1000304 ] }; // combining macron above
1011   key <AE12> { [     equal,       plus,     0x1000303,  0x1000303 ] }; // combining tilde above
1012
1013   key <AD01> { [         q,          Q,  Greek_omega, Greek_OMEGA ] };
1014   key <AD02> { [         w,          W,       oslash,      Oslash ] };
1015   key <AD03> { [         e,          E,           oe,          OE ] };
1016   key <AD04> { [         r,          R,    0x1000327,   0x1000327 ] }; // combining cedilla
1017   key <AD05> { [         t,          T,    0x100032E,   0x100032E ] }; // combining breve below
1018   key <AD06> { [         y,          Y,    0x1000325,   0x1000325 ] }; // combining ring below
1019   key <AD07> { [         u,          U,    0x100032D,   0x100032D ] }; // combining circumflex below
1020   key <AD08> { [         i,          I,    0x100032C,   0x100032C ] }; // combining caron below
1021   key <AD09> { [         o,          O,    0x1000323,   0x1000323 ] }; // combining dot below
1022   key <AD10> { [         p,          P,    0x1000324,   0x1000324 ] }; // combining diaeresis below
1023   key <AD11> { [ bracketleft,  braceleft,  0x1000331,   0x1000331 ] }; // combining macron below
1024   key <AD12> { [bracketright, braceright,  0x1000330,   0x1000330 ] }; // combining tilde below
1025
1026   key <AC01>  { [         a,          A,          ae,               AE ] };
1027   key <AC02>  { [         s,          S,      ssharp,        0x1001E9C ] }; // uppercase S sharp
1028   key <AC03>  { [         d,          D,         eth,              ETH ] };
1029   key <AC04>  { [         f,          F,       thorn,            THORN ] };
1030   key <AC06>  { [         h,          H,    sterling,         sterling ] };
1031   key <AC07>  { [         j,          J,    EuroSign,         EuroSign ] };
1032   key <AC10>  { [ semicolon,      colon,   masculine,      ordfeminine ] };
1033   key <AC11>  { [ apostrophe,  quotedbl,    currency,         currency ] };
1034   key <AC12>  { [ backslash,        bar,      section,         section ] };
1035
1036   key <AB03>  { [         c,          C,    ccedilla,         Ccedilla ] };
1037   key <AB06>  { [         n,          N,      ntilde,           Ntilde ] };
1038   key <AB07>  { [         m,          M,          mu,               mu ] };
1039   key <AB08>  { [     comma,     less,  guillemotleft,   guillemotleft ] };
1040   key <AB09>  { [    period,  greater, guillemotright,  guillemotright ] };
1041   key <AB10>  { [     slash,   question, questiondown,    questiondown ] };
1042
1043   key <I219>  { [  multiply,   division, ISO_Next_Group, ISO_Prev_Group ] };
1044
1045   include "level3(ralt_switch)"
1046};
1047
1048partial alphanumeric_keys
1049xkb_symbols "olpc2" {
1050   include "us(olpc)"
1051   name[Group1]= "English (the divide/multiply keys toggle the layout)";
1052   include "group(olpc)"
1053};
1054
1055xkb_symbols "olpcm" {
1056
1057   include "us(basic)"
1058   name[Group1]= "English (US)";
1059
1060   // Mechanical (non-membrane) OLPC int'l US English keyboard layout.
1061   // See: http://wiki.laptop.org/go/OLPC_English_Non-membrane_Keyboard
1062
1063   key <TLDE> { [     grave, asciitilde,    dead_grave, dead_tilde ] };
1064   key <AE01> { [         1,     exclam,    exclamdown, exclamdown ] };
1065   key <AE02> { [         2,         at,       notsign,    notsign ] };
1066   key <AE03> { [         3, numbersign,     0x1000300,  0x1000300 ] }; // combining grave
1067   key <AE04> { [         4,     dollar,     0x1000301,  0x1000301 ] }; // combining acute
1068   key <AE05> { [         5,    percent,     0x1000306,  0x1000306 ] }; // combining breve above
1069   key <AE06> { [         6,asciicircum,     0x100030A,  0x100030A ] }; // combining ring above
1070   key <AE07> { [         7,  ampersand,     0x1000302,  0x1000302 ] }; // combining circumflex above
1071   key <AE08> { [         8,   asterisk,     0x100030C,  0x100030C ] }; // combining caron above
1072   key <AE09> { [         9,  parenleft,     0x1000307,  0x1000307 ] }; // combining dot above
1073   key <AE10> { [         0, parenright,     0x1000308,  0x1000308 ] }; // combining diaeresis above
1074   key <AE11> { [     minus, underscore,     0x1000304,  0x1000304 ] }; // combining macron above
1075
1076   key <AD01> { [         q,          Q,  Greek_omega, Greek_OMEGA ] };
1077   key <AD02> { [         w,          W,       oslash,      Oslash ] };
1078   key <AD03> { [         e,          E,           oe,          OE ] };
1079   key <AD04> { [         r,          R,    0x1000327,   0x1000327 ] }; // combining cedilla
1080   key <AD05> { [         t,          T,    0x100032E,   0x100032E ] }; // combining breve below
1081   key <AD06> { [         y,          Y,    0x1000325,   0x1000325 ] }; // combining ring below
1082   key <AD07> { [         u,          U,    0x100032D,   0x100032D ] }; // combining circumflex below
1083   key <AD08> { [         i,          I,    0x100032C,   0x100032C ] }; // combining caron below
1084   key <AD09> { [         o,          O,    0x1000323,   0x1000323 ] }; // combining dot below
1085   key <AD10> { [         p,          P,    0x1000324,   0x1000324 ] }; // combining diaeresis below
1086   key <AD11> { [ bracketleft,  braceleft,  0x1000331,   0x1000331 ] }; // combining macron below
1087   key <AD12> { [bracketright, braceright,  0x1000330,   0x1000330 ] }; // combining tilde below
1088
1089   key <AC01>  { [         a,          A,          ae,               AE ] };
1090   key <AC02>  { [         s,          S,      ssharp,        0x1001E9C ] }; // uppercase S sharp
1091   key <AC03>  { [         d,          D,         eth,              ETH ] };
1092   key <AC04>  { [         f,          F,       thorn,            THORN ] };
1093   key <AC06>  { [         h,          H,    sterling,         sterling ] };
1094   key <AC07>  { [         j,          J,    EuroSign,         EuroSign ] };
1095   key <AC10>  { [ semicolon,      colon,   masculine,      ordfeminine ] };
1096   // no AC11 or AC12 on olpcm
1097
1098   key <AB03>  { [         c,          C,    ccedilla,         Ccedilla ] };
1099   key <AB06>  { [         n,          N,      ntilde,           Ntilde ] };
1100   key <AB07>  { [         m,          M,          mu,               mu ] };
1101   key <AB08>  { [     comma,     less,  guillemotleft,   guillemotleft ] };
1102   key <AB09>  { [    period,  greater, guillemotright,  guillemotright ] };
1103   key <AB10>  { [     slash,   question, questiondown,    questiondown ] };
1104
1105   key <AA02>  { [ backslash,        bar,      section,         section ] };
1106   key <AA06>  { [     equal,       plus,     0x1000303,  0x1000303 ] };
1107   key <AA07>  { [ apostrophe,  quotedbl,    currency,         currency ] };
1108
1109   include "level3(ralt_switch)"
1110};
1111
1112// Based on Cherokee Nation Official Layout
1113// http://www.cherokee.org/extras/downloads/font/Keyboard.htm
1114
1115partial alphanumeric_keys modifier_keys
1116xkb_symbols "chr" {
1117
1118    name[Group1]= "Cherokee";
1119    key.type[group1]="ALPHABETIC";
1120
1121    key <TLDE> { [      grave,      U13CA ] };
1122    key <AE01> { [          1,      U13B1 ] };
1123    key <AE02> { [          2,      U13C7 ] };
1124    key <AE03> { [          3,      U13E7 ] };
1125    key <AE04> { [      U13D9,      U13B0 ] };
1126    key <AE05> { [      U13E6,      U13B9 ] };
1127    key <AE06> { [      U13DC,      U13DD ] };
1128    key <AE07> { [      U13CB,      U13E1 ] };
1129    key <AE08> { [      U13D6,      U13BA ] };
1130    key <AE09> { [      U13D2,  parenleft ] };
1131    key <AE10> { [      U13C4, parenright ] };
1132    key <AE11> { [      U13BF,      U13BC ] };
1133    key <AE12> { [      U13F3,      U13BD ] };
1134
1135    key <AD01> { [      U13AA,      U13C6 ] };
1136    key <AD02> { [      U13B3,      U13EB ] };
1137    key <AD03> { [      U13A1,      U13E3 ] };
1138    key <AD04> { [      U13DB,      U13CF ] };
1139    key <AD05> { [      U13D4,      U13D8 ] };
1140    key <AD06> { [      U13EF,      U13F2 ] };
1141    key <AD07> { [      U13A4,      U13AD ] };
1142    key <AD08> { [      U13A2,      U13F1 ] };
1143    key <AD09> { [      U13A3,      U13EC ] };
1144    key <AD10> { [      U13C1,      U13EA ] };
1145    key <AD11> { [      U13D5,      U13D1 ] };
1146    key <AD12> { [      U13B6,      U13E4 ] };
1147    key <BKSL> { [      U13E9,      U13EE ] };
1148
1149    key <AC01> { [      U13A0,      U13CC ] };
1150    key <AC02> { [      U13CD,      U13CE ] };
1151    key <AC03> { [      U13D7,      U13D0 ] };
1152    key <AC04> { [      U13A9,      U13C8 ] };
1153    key <AC05> { [      U13A6,      U13E5 ] };
1154    key <AC06> { [      U13AF,      U13B2 ] };
1155    key <AC07> { [      U13DA,      U13AB ] };
1156    key <AC08> { [      U13B8,      U13A7 ] };
1157    key <AC09> { [      U13B5,      U13AE ] };
1158    key <AC10> { [      U13E8,      U13E0 ] };
1159    key <AC11> { [ apostrophe,   quotedbl ] };
1160
1161    key <AB01> { [      U13AC,      U13C3 ] };
1162    key <AB02> { [      U13F4,      U13ED ] };
1163    key <AB03> { [      U13D3,      U13DF ] };
1164    key <AB04> { [      U13A5,      U13DE ] };
1165    key <AB05> { [      U13A8,      U13F0 ] };
1166    key <AB06> { [      U13BE,      U13BB ] };
1167    key <AB07> { [      U13C5,      U13B7 ] };
1168    key <AB08> { [      comma,      U13E2 ] };
1169    key <AB09> { [     period,      U13B4 ] };
1170    key <AB10> { [      U13C2,      U13C9 ] };
1171};
1172
1173// Serbian charecters added as third level symbols to US keyboard layout.
1174
1175partial alphanumeric_keys
1176xkb_symbols "hbs" {
1177
1178  name[Group1]= "Serbo-Croatian (US)";
1179
1180  include "us"
1181
1182  key <TLDE> { [ grave, asciitilde ] };
1183  key <AE06> { [ 6, dead_caron, asciicircum, asciicircum ] };
1184  key <AE08> { [ 8, asterisk, multiply, division ] };
1185  key <AE11> { [ minus, underscore, endash, emdash ] };
1186  key <AC09> { [ l, L, U1C9, U1C8 ] };
1187  key <AB06> { [ n, N, U1CC, U1CB ] };
1188  key <AB01> { [ z, Z, U1C6, U1C5 ] };
1189  key <AD03> { [ e, E, EuroSign, cent ] };
1190  key <AC03> { [ d, D, dstroke, Dstroke ] };
1191  key <AC11> { [ dead_acute, quotedbl, apostrophe, apostrophe ] };
1192  key <SPCE> { [ space, space, nobreakspace, nobreakspace ] };
1193  key <AB08> { [ comma, less, U3003, guillemotright ] };
1194  key <AB09> { [ period, greater, ellipsis, guillemotleft ] };
1195
1196  include "level3(ralt_switch)"
1197};
1198
1199//based on http://upload.wikimedia.org/wikipedia/commons/1/18/T-Mobile_G1_launch_event_2.jpg
1200partial alphanumeric_keys
1201xkb_symbols "htcdream" {
1202        include "inet(htcdream)"
1203        name[Group1]= "English (US)";
1204
1205        //second row
1206        key <AD01> { [ q, Q, Tab, Tab ] };
1207        key <AD02> { [ w, W, grave, grave ] };
1208        key <AD03> { [ e, E, underscore, underscore ] };
1209        key <AD04> { [ r, R, sterling, sterling ] };
1210        key <AD05> { [ t, T, EuroSign, EuroSign ] };
1211        key <AD06> { [ y, Y, division, division ] };
1212        key <AD07> { [ u, U, multiply, multiply ] };
1213        key <AD08> { [ i, I, minus, minus ] };
1214        key <AD09> { [ o, O, plus, plus ] };
1215        key <AD10> { [ p, P, equal, equal ] };
1216
1217        //third row
1218        key <AC01> { [ a, A, NoSymbol, NoSymbol ] };
1219        key <AC02> { [ s, S, bar, bar ] };
1220        key <AC03> { [ d ,D, backslash, backslash ] };
1221        key <AC04> { [ f, F, braceleft, braceleft ] };
1222        key <AC05> { [ g, G, braceright, braceright ] };
1223        key <AC06> { [ h, H, colon, colon ] };
1224        key <AC07> { [ j, J, semicolon, semicolon ] };
1225        key <AC08> { [ k, K, quotedbl, quotedbl ] };
1226        key <AC09> { [ l, L, apostrophe, apostrophe ] };
1227
1228        //forth row
1229        key <AB01> { [ z, Z, NoSymbol, NoSymbol ] };
1230        key <AB02> { [ x, X, NoSymbol, NoSymbol ] };
1231        key <AB03> { [ c, C, NoSymbol, NoSymbol ] };
1232        key <AB04> { [ v, V, bracketleft, bracketleft ] };
1233        key <AB05> { [ b, B, bracketright, bracketright ] };
1234        key <AB06> { [ n, N, less, less ] };
1235        key <AB07> { [ m, M, greater, greater ] };
1236        key <AB08> { [ comma, comma, question, question ] };
1237
1238        //fifth row
1239        key <FK15> { [ at, at, asciitilde, asciitilde ] };
1240
1241        include "level3(alt_switch)"
1242};
1243
1244// Workman Keyboard Layout symbols for xkb on X.Org Server 7.x
1245// 09-06-2010 OJ Bucao. http://www.workmanlayout.com
1246
1247partial alphanumeric_keys
1248xkb_symbols "workman" {
1249
1250    name[Group1]= "English (Workman)";
1251
1252    include "us(basic)"
1253
1254    key <AD01> {  [   q,  Q   ] };
1255    key <AD02> {  [   d,  D   ] };
1256    key <AD03> {  [   r,  R   ] };
1257    key <AD04> {  [   w,  W   ] };
1258    key <AD05> {  [   b,  B   ] };
1259    key <AD06> {  [   j,  J   ] };
1260    key <AD07> {  [   f,  F   ] };
1261    key <AD08> {  [   u,  U   ] };
1262    key <AD09> {  [   p,  P   ] };
1263    key <AD10> {  [   semicolon,  colon   ] };
1264
1265    key <AC01> {  [   a,  A   ] };
1266    key <AC02> {  [   s,  S   ] };
1267    key <AC03> {  [   h,  H   ] };
1268    key <AC04> {  [   t,  T   ] };
1269    key <AC05> {  [   g,  G   ] };
1270    key <AC06> {  [   y,  Y   ] };
1271    key <AC07> {  [   n,  N   ] };
1272    key <AC08> {  [   e,  E   ] };
1273    key <AC09> {  [   o,  O   ] };
1274    key <AC10> {  [   i,  I   ] };
1275
1276    key <AB01> {  [   z,  Z   ] };
1277    key <AB02> {  [   x,  X   ] };
1278    key <AB03> {  [   m,  M   ] };
1279    key <AB04> {  [   c,  C   ] };
1280    key <AB05> {  [   v,  V   ] };
1281    key <AB06> {  [   k,  K   ] };
1282    key <AB07> {  [   l,  L   ] };
1283
1284    key <CAPS> { [    BackSpace,       Escape,       BackSpace,        BackSpace ] };
1285
1286    include "level3(ralt_switch)"
1287};
1288
1289partial alphanumeric_keys
1290xkb_symbols "workman-intl" {
1291
1292    name[Group1]= "English (Workman, international with dead keys)";
1293
1294    include "us(intl)"
1295
1296    key <AD01> { [     q,          Q,    adiaeresis,       Adiaeresis ] };
1297    key <AD02> { [     d,          D,           eth,              ETH ] };
1298    key <AD03> { [     r,          R,    registered,       registered ] };
1299    key <AD04> { [     w,          W,         aring,            Aring ] };
1300    key <AD05> { [     b,          B,             b,                B ] };
1301    key <AD06> { [     j,          J,             j,                J ] };
1302    key <AD07> { [     f,          F,             f,                F ] };
1303    key <AD08> { [     u,          U,        uacute,           Uacute ] };
1304    key <AD09> { [     p,          P,    odiaeresis,       Odiaeresis ] };
1305    key <AD10> { [ semicolon,  colon,     paragraph,           degree ] };
1306
1307    key <AC01> { [     a,          A,        aacute,           Aacute ] };
1308    key <AC02> { [     s,          S,        ssharp,          section ] };
1309    key <AC03> { [     h,          H,             h,                H ] };
1310    key <AC04> { [     t,          T,         thorn,            THORN ] };
1311    key <AC05> { [     g,          G,             g,                G ] };
1312    key <AC06> { [     y,          Y,    udiaeresis,       Udiaeresis ] };
1313    key <AC07> { [     n,          N,        ntilde,           Ntilde ] };
1314    key <AC08> { [     e,          E,        eacute,           Eacute ] };
1315    key <AC09> { [     o,          O,        oacute,           Oacute ] };
1316    key <AC10> { [     i,          I,        iacute,           Iacute ] };
1317
1318    key <AB01> { [     z,          Z,            ae,               AE ] };
1319    key <AB02> { [     x,          X,             x,                X ] };
1320    key <AB03> { [     m,          M,            mu,               mu ] };
1321    key <AB04> { [     c,          C,     copyright,             cent ] };
1322    key <AB05> { [     v,          V,             v,                V ] };
1323    key <AB06> { [     k,          K,            oe,               OE ] };
1324    key <AB07> { [     l,          L,        oslash,         Ooblique ] };
1325
1326    key <CAPS> { [ BackSpace, Escape,     BackSpace,        BackSpace ] };
1327
1328    include "level3(ralt_switch)"
1329};
1330
1331// Norman keyboard layout symbols for xkb on X.Org Server 7.x
1332// Written 11/23/2012, revised 3/7/2013 by David Norman http://normanlayout.info
1333// To the extent possible under law, the author(s) have dedicated all
1334// copyright and related and neighboring rights to this software to the
1335// public domain worldwide. This software is distributed without any warranty.
1336
1337partial alphanumeric_keys
1338xkb_symbols "norman" {
1339
1340    name[Group1]= "English (Norman)";
1341
1342    include "us(basic)"
1343
1344    // Alphanumeric section
1345    key <AD01> { [ q, Q ] };
1346    key <AD02> { [ w, W ] };
1347    key <AD03> { [ d, D ] };
1348    key <AD04> { [ f, F ] };
1349    key <AD05> { [ k, K ] };
1350    key <AD06> { [ j, J ] };
1351    key <AD07> { [ u, U ] };
1352    key <AD08> { [ r, R ] };
1353    key <AD09> { [ l, L ] };
1354    key <AD10> { [ semicolon, colon ] };
1355
1356    key <AC01> { [ a, A ] };
1357    key <AC02> { [ s, S ] };
1358    key <AC03> { [ e, E ] };
1359    key <AC04> { [ t, T ] };
1360    key <AC05> { [ g, G ] };
1361    key <AC06> { [ y, Y ] };
1362    key <AC07> { [ n, N ] };
1363    key <AC08> { [ i, I ] };
1364    key <AC09> { [ o, O ] };
1365    key <AC10> { [ h, H ] };
1366
1367    key <AB01> { [ z, Z ] };
1368    key <AB02> { [ x, X ] };
1369    key <AB03> { [ c, C ] };
1370    key <AB04> { [ v, V ] };
1371    key <AB05> { [ b, B ] };
1372    key <AB06> { [ p, P ] };
1373    key <AB07> { [ m, M ] };
1374    // End alphanumeric section
1375
1376    key <CAPS> { [ BackSpace ] };
1377
1378    include "level3(ralt_switch)"
1379};
1380
1381// EXTRAS:
1382
1383// Czech, Slovak and German charecters added as third level symbols to US keyboard layout.
1384partial alphanumeric_keys
1385xkb_symbols "cz_sk_de" {
1386    include "us"
1387    name[Group1]="Czech Slovak and German (US)";
1388
1389    key <TLDE>  { [grave,   asciitilde, uring,      Uring       ] };
1390    key <AE01>	{ [    1,	exclam,	uacute,	    Uacute	] };
1391    key <AE02>	{ [    2,           at, ecaron,	    Ecaron	] };
1392    key <AE03>	{ [    3,   numbersign, scaron,	    Scaron	] };
1393    key <AE04>	{ [    4,       dollar,	ccaron,	    Ccaron	] };
1394    key <AE05>	{ [    5,      percent, rcaron,	    Rcaron	] };
1395    key <AE06>	{ [    6,  asciicircum, zcaron,	    Zcaron	] };
1396    key <AE07>	{ [    7,    ampersand,	yacute,	    Yacute	] };
1397    key <AE08>	{ [    8,     asterisk, aacute,	    Aacute	] };
1398    key <AE09>	{ [    9,    parenleft,	iacute,	    Iacute	] };
1399    key <AE10>	{ [    0,   parenright, eacute,	    Eacute	] };
1400    key <AE11>	{ [minus,   underscore, ssharp,     0x1001E9E	] };
1401    key <AE12>	{ [equal,	  plus, dead_acute, dead_caron  ] };
1402
1403    key <AD03>	{ [         e,          E,     EuroSign,     Eacute ]	};
1404
1405    key <AD11>	{ [bracketleft, braceleft,   udiaeresis,   Udiaeresis ]	};
1406    key <AC10>	{ [ semicolon,      colon,   odiaeresis,   Odiaeresis ]	};
1407    key <AC11>	{ [apostrophe,      quotedbl,adiaeresis,   Adiaeresis ]	};
1408
1409    key <AC01>	{ [         a,          A,     aacute,	     Aacute   ]	};
1410    key <AD08>	{ [         i,          I,     iacute,	     Iacute   ]	};
1411    key <AD09>	{ [         o,          O,     oacute,       Oacute   ]	};
1412    key <AD06>	{ [         y,          Y,     yacute,       Yacute   ]	};
1413    key <AD07>	{ [         u,          U,     uring,	     Uring    ]	};
1414
1415    key <AC02>	{ [         s,          S,     scaron,       Scaron   ]	};
1416    key <AB01>	{ [         z,          Z,     zcaron,	     Zcaron   ]	};
1417    key <AB03>	{ [         c,          C,     ccaron,       Ccaron   ]	};
1418    key <AD04>	{ [         r,          R,     rcaron,	     Rcaron   ]	};
1419    key <AD05>	{ [         t,          T,     tcaron,	     Tcaron   ]	};
1420    key <AC03>	{ [         d,          D,     dcaron,	     Dcaron   ]	};
1421    key <AB06>	{ [         n,          N,     ncaron,	     Ncaron   ]	};
1422    key <AC09>  { [         l,          L,     lcaron,       Lcaron   ] };
1423    key <AD10>  { [         p,          P,ocircumflex,  Ocircumflex   ] };
1424
1425    key <SPCE>  { [     space,       space, nobreakspace, nobreakspace] };
1426
1427    include "level3(ralt_switch)"
1428};
1429
1430// XCompose is out! Unicode combining is in!  For those of us who live
1431// on the edge: A keymap using Unicode combining characters instead of
1432// deadkeys.  This variation does not deviate from the lame MS-style
1433// US-intl layout; but it uses AltGr for combining, like altgr-intl.
1434//
1435// This might break your font layout layout systems (because they
1436// suck), caveat emptor.  Also, most of today's software will count
1437// individual combining marks for selection, deletion, character
1438// counting &c., and won't be smart enough to do canonical equivalence
1439// when searching, &c.
1440//
1441// With Unicode combining you use "handwriting order", not
1442// "typewriting order" as with deadkeys.  That is, you first type the
1443// base character, then the diacritics/accents/modifiers.  This has
1444// the advantage of avoiding hidden states --- each keypress changes
1445// something on screen.
1446//
1447// TODO: as of now, this duplicates all us(intl) functionality with
1448// combining.  With care, perhaps we could add more combining marks
1449// not present in intl, and support all major languages.
1450partial alphanumeric_keys
1451xkb_symbols "intl-unicode" {
1452
1453 name[Group1]= "English (US, international AltGr Unicode combining)";
1454
1455 include "us(intl)"
1456 include "level3(ralt_switch)"
1457
1458 // grave, tilde
1459 key <TLDE> { [grave, asciitilde, U0300, U0303 ] };
1460 // double acute
1461 key <AE02> { [ 2, at, twosuperior, U030B ] };
1462 // macron
1463 key <AE03> { [ 3, numbersign, threesuperior, U0304 ] };
1464 // circumflex
1465 key <AE06> { [ 6, asciicircum, onequarter, U0302 ] };
1466 // horn
1467 key <AE07> { [ 7, ampersand, onehalf, U031B ] };
1468 // ogonek
1469 key <AE08> { [ 8, asterisk, threequarters, U0328 ] };
1470 // breve
1471 key <AE09> { [	 9, parenleft, leftsinglequotemark, U0306 ] };
1472 // abovering
1473 key <AE10> { [	 0, parenright, rightsinglequotemark, U030A ] };
1474
1475 // belowdot
1476 key <AE11> { [ minus, underscore, yen, U0323 ] };
1477 // acute, diaeresis
1478 key <AC11> { [apostrophe, quotedbl, U0301, U0308 ] };
1479 // abovedot, caron
1480 key <AB09> { [ period, greater, U0307, U030C ] };
1481 // hook
1482 key <AB10> { [ slash, question, questiondown, U0309 ] };
1483
1484 // alt-intl compatibility
1485 // cedilla, caron
1486 key <AB08> { [ comma, less,	 U0327, U030C ] };
1487 // ogonek, diaeresis
1488 key <AC10> { [ semicolon, colon,	 U0328, U0308 ] };
1489 // doubleacute, horn
1490 key <AE12> { [ equal, plus,	 U030B, U031B ] };
1491
1492 // we don't do combining latin letters and combining enclosures
1493 // because support for those is very rare.
1494};
1495
1496// XCompose is out! Unicode combining is in! For those of us who live
1497// on the edge: A keymap using Unicode combining characters instead of
1498// deadkeys. This variation does break compatibility with us-intl,
1499// whenever I thought it would be more mnemonic or Unicodeish.
1500partial alphanumeric_keys
1501xkb_symbols "alt-intl-unicode" {
1502
1503 name[Group1]= "English (US, international AltGr Unicode combining, alternative)";
1504
1505 include "us(intl-unicode)"
1506
1507 // easier macron; em-dash.
1508 // em-dash is available via compose, but I added here since it's such
1509 // an important typographic character.
1510 key <AE11> { [ minus, underscore, U0304, U2014 ] };
1511
1512 // belowdot, abovedot (caron at coma/less key, per above)
1513 key <AB09> { [ period, greater, U0323, U0307 ] };
1514
1515};
1516
1517partial alphanumeric_keys
1518xkb_symbols "ats" {
1519
1520    include "us"
1521
1522    name[Group1]= "Atsina";
1523
1524    //Using Dead key to get COMBINING COMMA ABOVE for ejectives on
1525    //q, l, t, s, m, g, k, p, w, y, r
1526    //XCompose key is used for the other accute and grave.
1527
1528    key <AD03> { [ e, E, eacute, Eacute  ] };
1529    key <AD07> { [ u, U, uacute, Uacute  ] };
1530    key <AD08> { [ i, I, iacute, Iacute  ] };
1531    key <AD09> { [ o, O, oacute, Oacute  ] };
1532    key <AD11> { [ bracketleft,	braceleft, U03B8 ] };
1533    key <AD12> { [ bracketright, braceright, U010D, U010C ] };
1534    //U+010C (uppercase Č) and U+010D (lowercase č).
1535
1536    key <AC01> { [ a, A, aacute, Aacute  ] };
1537
1538    //Small letter Open use compose to key get acute accent
1539    key <AB03> { [ c,	C, U0254, U0186		  ] };
1540    key <AB08> { [ comma,     less, U0313 ] };
1541    key <AB10> { [ slash, question, U0294 ] };
1542
1543    include "level3(ralt_switch)"
1544    include "compose(rctrl)"
1545};
1546
1547partial alphanumeric_keys
1548xkb_symbols "crd" {
1549
1550  include "us"
1551
1552  name[Group1]= "Coeur d'Alene Salish";
1553
1554  key <AD02> { [         w,           W, U02B7, U02B7 ] };
1555  key <AE07> { [         7,   ampersand, U0294        ] };
1556  key <AD01> { [         q,           Q, U221A        ] };
1557  key <AB04> { [         v,           V, U0259        ] };
1558  key <BKSL> { [ backslash,         bar, U026B        ] };
1559  key <AD03> { [         e,           E, U025B        ] };
1560  key <AD08> { [         i,           I, U026A        ] };
1561  key <AC07> { [         j,           J, U01F0        ] };
1562  key <AE06> { [         6, asciicircum, U0295        ] };
1563  key <AC02> { [         s,           S, U0161        ] };
1564  key <AB03> { [         c,           C, U010D        ] };
1565  key <AD09> { [         o,           O, U0254        ] };
1566  key <AB09> { [    period,     greater, U0323        ] };
1567
1568  include "level3(ralt_switch)"
1569  include "compose(rctrl)"
1570};
1571
1572
1573partial alphanumeric_keys
1574	xkb_symbols "sun_type6" {
1575	include "sun_vndr/us(sun_type6)"
1576};
1577