adding classmate model with variants b.fd.o#11955
[xorg/xkeyboard-config] / symbols / us
1 // $XKeyboardConfig$
2
3 //
4 // $XdotOrg: xc/programs/xkbcomp/symbols/us,v 1.1.4.3 2004/03/05 13:41:33 eich Exp $
5 // $XFree86: xc/programs/xkbcomp/symbols/us,v 1.6 2003/10/31 14:32:05 pascal Exp $
6
7 default
8 partial alphanumeric_keys modifier_keys 
9 xkb_symbols "basic" {
10
11     name[Group1]= "U.S. English";
12
13     // Alphanumeric section
14     key <TLDE> {        [     grave,    asciitilde      ]       };
15     key <AE01> {        [         1,    exclam          ]       };
16     key <AE02> {        [         2,    at              ]       };
17     key <AE03> {        [         3,    numbersign      ]       };
18     key <AE04> {        [         4,    dollar          ]       };
19     key <AE05> {        [         5,    percent         ]       };
20     key <AE06> {        [         6,    asciicircum     ]       };
21     key <AE07> {        [         7,    ampersand       ]       };
22     key <AE08> {        [         8,    asterisk        ]       };
23     key <AE09> {        [         9,    parenleft       ]       };
24     key <AE10> {        [         0,    parenright      ]       };
25     key <AE11> {        [     minus,    underscore      ]       };
26     key <AE12> {        [     equal,    plus            ]       };
27
28     key <AD01> {        [         q,    Q               ]       };
29     key <AD02> {        [         w,    W               ]       };
30     key <AD03> {        [         e,    E               ]       };
31     key <AD04> {        [         r,    R               ]       };
32     key <AD05> {        [         t,    T               ]       };
33     key <AD06> {        [         y,    Y               ]       };
34     key <AD07> {        [         u,    U               ]       };
35     key <AD08> {        [         i,    I               ]       };
36     key <AD09> {        [         o,    O               ]       };
37     key <AD10> {        [         p,    P               ]       };
38     key <AD11> {        [ bracketleft,  braceleft       ]       };
39     key <AD12> {        [ bracketright, braceright      ]       };
40
41     key <AC01> {        [         a,    A               ]       };
42     key <AC02> {        [         s,    S               ]       };
43     key <AC03> {        [         d,    D               ]       };
44     key <AC04> {        [         f,    F               ]       };
45     key <AC05> {        [         g,    G               ]       };
46     key <AC06> {        [         h,    H               ]       };
47     key <AC07> {        [         j,    J               ]       };
48     key <AC08> {        [         k,    K               ]       };
49     key <AC09> {        [         l,    L               ]       };
50     key <AC10> {        [ semicolon,    colon           ]       };
51     key <AC11> {        [ apostrophe,   quotedbl        ]       };
52
53     key <AB01> {        [         z,    Z               ]       };
54     key <AB02> {        [         x,    X               ]       };
55     key <AB03> {        [         c,    C               ]       };
56     key <AB04> {        [         v,    V               ]       };
57     key <AB05> {        [         b,    B               ]       };
58     key <AB06> {        [         n,    N               ]       };
59     key <AB07> {        [         m,    M               ]       };
60     key <AB08> {        [     comma,    less            ]       };
61     key <AB09> {        [    period,    greater         ]       };
62     key <AB10> {        [     slash,    question        ]       };
63
64     key <BKSL> {        [ backslash,         bar        ]       };
65     key <CAPS> {        [ Caps_Lock     ]       };
66     // End alphanumeric section
67 };
68
69 partial alphanumeric_keys
70 xkb_symbols "euro" {
71
72     name[Group1]= "U.S. English - With EuroSign on 5";
73
74     include "us(basic)"
75
76     include "eurosign(5)"
77
78     include "level3(ralt_switch)"
79 };
80
81
82 partial alphanumeric_keys
83 xkb_symbols "intl" {
84
85     name[Group1]= "U.S. English - International (with dead keys)";
86
87     include "us(basic)"
88
89     // Alphanumeric section
90     key <TLDE> { [dead_grave, dead_tilde,         grave,       asciitilde ] };
91     key <AE01> { [         1,     exclam,    exclamdown,      onesuperior ] };
92     key <AE02> { [         2,         at,   twosuperior, dead_doubleacute ] };
93     key <AE03> { [         3, numbersign, threesuperior,      dead_macron ] };
94     key <AE04> { [         4,     dollar,      currency,         sterling ] };
95     key <AE05> { [         5,    percent,      EuroSign                   ] };
96     key <AE06> { [    6, dead_circumflex,    onequarter,      asciicircum ] };
97     key <AE07> { [         7,  ampersand,       onehalf,        dead_horn ] };
98     key <AE08> { [         8,   asterisk, threequarters,      dead_ogonek ] };
99     key <AE09> { [         9,  parenleft, leftsinglequotemark, dead_breve ] };
100     key <AE10> { [         0, parenright, rightsinglequotemark, dead_abovering ] };
101     key <AE11> { [     minus, underscore,           yen,    dead_belowdot ] };
102     key <AE12> { [     equal,       plus,      multiply,         division ] };
103
104     key <AD01> { [         q,          Q,    adiaeresis,       Adiaeresis ] };
105     key <AD02> { [         w,          W,         aring,            Aring ] };
106     key <AD03> { [         e,          E,        eacute,           Eacute ] };
107     key <AD04> { [         r,          R,    registered,       registered ] };
108     key <AD05> { [         t,          T,         thorn,            THORN ] };
109     key <AD06> { [         y,          Y,    udiaeresis,       Udiaeresis ] };
110     key <AD07> { [         u,          U,        uacute,           Uacute ] };
111     key <AD08> { [         i,          I,        iacute,           Iacute ] };
112     key <AD09> { [         o,          O,        oacute,           Oacute ] };
113     key <AD10> { [         p,          P,    odiaeresis,       Odiaeresis ] };
114     key <AD11> { [ bracketleft,  braceleft,  guillemotleft, guillemotleft ] };
115     key <AD12> { [bracketright, braceright, guillemotright,guillemotright ] };
116
117     key <AC01> { [         a,          A,        aacute,           Aacute ] };
118     key <AC02> { [         s,          S,        ssharp,          section ] };
119     key <AC03> { [         d,          D,           eth,              ETH ] };
120     key <AC08> { [         k,          K,            oe,               OE ] };
121
122     key <AC09> { [         l,          L,        oslash,         Ooblique ] };
123     key <AC10> { [ semicolon,      colon,     paragraph,           degree ] };
124     key <AC11> { [dead_acute, dead_diaeresis, apostrophe,        quotedbl ] };
125
126     key <AB01> { [         z,          Z,            ae,               AE ] };
127     key <AB03> { [         c,          C,     copyright,             cent ] };
128     key <AB06> { [         n,          N,        ntilde,           Ntilde ] };
129     key <AB07> { [         m,          M,            mu,               mu ] };
130     key <AB08> { [     comma,       less,      ccedilla,         Ccedilla ] };
131     key <AB09> { [    period,    greater, dead_abovedot,       dead_caron ] };
132     key <AB10> { [     slash,   question,  questiondown,        dead_hook ] };
133     key <BKSL> { [ backslash,        bar,       notsign,        brokenbar ] };
134
135     include "level3(ralt_switch)"
136 };
137
138 // Based on symbols/us_intl keyboard map:
139 // Dead-keys definition for a very simple US/ASCII layout.
140 // by Conectiva (http://www.conectiva.com.br)
141 // modified by Ricardo Y. Igarashi (iga@that.com.br)
142
143 // Added the following deadkeys, to make it truly international:
144 //
145 // dead_macron: on AltGr-minus
146 // dead_breve: on AltGr-parenleft
147 // dead_abovedot: on AltGr-period
148 // dead_abovering: on AltGr-0
149 // dead_doubleacute: on AltGr-equal (as quotedbl is already used)
150 // dead_caron: on AltGr-less (AltGr-shift-comma)
151 // dead_cedilla: on AltGr-comma
152 // dead_ogonek: on AltGr-semicolon
153 // dead_belowdot: on AltGr-underscore (AltGr-shift-minus)
154 // dead_hook: on AltGr-question
155 // dead_horn: on AltGr-plus (AltGr-shift-equal)
156 // dead_diaeresis: on AltGr-colon (Alt-shift-semicolon)
157 //
158 // those were already there:
159 // dead_grave
160 // dead_acute
161 // dead_circumflex
162 // dead_tilde
163 // dead_diaeresis
164
165 partial alphanumeric_keys
166 xkb_symbols "alt-intl" {
167
168   name[Group1]= "U.S. English - Alternative international (former us_intl)";
169
170   include "us"
171
172   key <TLDE> { [ dead_grave, dead_tilde,    grave,            asciitilde    ] };
173   key <AE05> { [          5, percent,       EuroSign                        ] };
174   key <AE06> { [          6, dead_circumflex, asciicircum,    asciicircum   ] };
175   key <AE09> { [          9, parenleft, leftsinglequotemark,  dead_breve ] };
176   key <AE10> { [          0, parenright, rightsinglequotemark, dead_abovering ] };
177   key <AE11> { [      minus, underscore,    dead_macron,      dead_belowdot ] };
178   key <AE12> { [      equal, plus,          dead_doubleacute, dead_horn     ] };
179
180   key <AD03> { [          e, E,              EuroSign,         cent         ] };
181
182   key <AC10> { [  semicolon, colon,          dead_ogonek,   dead_diaeresis  ] };
183   key <AC11> { [ dead_acute, dead_diaeresis, apostrophe,    quotedbl        ] };
184
185   key <AB08> { [      comma, less,           dead_cedilla,  dead_caron      ] };
186   key <AB09> { [     period, greater,        dead_abovedot, dead_circumflex ] };
187   key <AB10> { [      slash, question,       dead_hook,     dead_hook       ] };
188
189   include "level3(ralt_switch)"
190 };
191
192 // based on a keyboard map from an 'xkb/symbols/dk' file
193 //
194 // $XFree86: xc/programs/xkbcomp/symbols/dvorak,v 1.5 2004/01/03 16:35:07 herrb Exp $
195
196 partial alphanumeric_keys
197 xkb_symbols "dvorak" {
198
199     name[Group1]= "U.S. English - Dvorak";
200
201     // Alphanumeric section
202
203     key <TLDE> { [       grave, asciitilde, dead_grave, dead_tilde      ] };
204
205     key <AE01> { [          1,  exclam          ]       };
206     key <AE02> { [          2,  at              ]       };
207     key <AE03> { [          3,  numbersign      ]       };
208     key <AE04> { [          4,  dollar          ]       };
209     key <AE05> { [          5,  percent         ]       };
210     key <AE06> { [          6,  asciicircum, dead_circumflex, dead_circumflex ] };
211     key <AE07> { [          7,  ampersand       ]       };
212     key <AE08> { [          8,  asterisk        ]       };
213     key <AE09> { [          9,  parenleft,  dead_grave] };
214     key <AE10> { [          0,  parenright      ]       };
215     key <AE11> { [ bracketleft, braceleft       ]       };
216     key <AE12> { [ bracketright, braceright,  dead_tilde] };
217
218     key <AD01> { [  apostrophe, quotedbl, dead_acute, dead_diaeresis    ] };
219     key <AD02> { [      comma,  less,   dead_cedilla, dead_caron        ] };
220     key <AD03> { [      period, greater, dead_abovedot, periodcentered  ] };
221     key <AD04> { [          p,  P               ]       };
222     key <AD05> { [          y,  Y               ]       };
223     key <AD06> { [          f,  F               ]       };
224     key <AD07> { [          g,  G               ]       };
225     key <AD08> { [          c,  C               ]       };
226     key <AD09> { [          r,  R               ]       };
227     key <AD10> { [          l,  L               ]       };
228     key <AD11> { [      slash,  question        ]       };
229     key <AD12> { [      equal,  plus            ]       };
230
231     key <AC01> { [          a,  A               ]       };
232     key <AC02> { [          o,  O               ]       };
233     key <AC03> { [          e,  E               ]       };
234     key <AC04> { [          u,  U               ]       };
235     key <AC05> { [          i,  I               ]       };
236     key <AC06> { [          d,  D               ]       };
237     key <AC07> { [          h,  H               ]       };
238     key <AC08> { [          t,  T               ]       };
239     key <AC09> { [          n,  N               ]       };
240     key <AC10> { [          s,  S               ]       };
241     key <AC11> { [      minus,  underscore      ]       };
242
243     key <AB01> { [   semicolon, colon, dead_ogonek, dead_doubleacute ] };
244     key <AB02> { [          q,  Q               ]       };
245     key <AB03> { [          j,  J               ]       };
246     key <AB04> { [          k,  K               ]       };
247     key <AB05> { [          x,  X               ]       };
248     key <AB06> { [          b,  B               ]       };
249     key <AB07> { [          m,  M               ]       };
250     key <AB08> { [          w,  W               ]       };
251     key <AB09> { [          v,  V               ]       };
252     key <AB10> { [          z,  Z               ]       };
253
254     key <BKSL> { [  backslash,  bar             ]       };
255 };
256
257 // Left and right handed dvorak layouts
258 // by sqweek <sqweek@gmail.com> 2006-01-30
259 // Based on the corresponding layouts in the console-tools package.
260 partial alphanumeric_keys
261 xkb_symbols "dvorak-l" {
262
263     include "us(dvorak)"
264     name[Group1]= "U.S. English - Left handed Dvorak";
265
266     key <AE01> {        [ bracketleft,  braceleft       ]       };
267     key <AE02> {        [ bracketright, braceright      ],
268                     [  dead_tilde                       ]       };
269     key <AE03> {        [       slash,  question        ]       };
270     key <AE04> {        [           p,  P               ]       };
271     key <AE05> {        [           f,  F               ]       };
272     key <AE06> {        [           m,  M               ]       };
273     key <AE07> {        [           l,  L               ]       };
274     key <AE08> {        [           j,  J               ]       };
275     key <AE09> {        [           4,  dollar          ]       };
276     key <AE10> {        [           3,  numbersign      ]       };
277     key <AE11> {        [           2,  at              ]       };
278     key <AE12> {        [           1,  exclam          ]       };
279
280     key <AD01> {        [   semicolon,  colon           ],
281                         [ dead_ogonek, dead_doubleacute ]       };
282     key <AD02> {        [           q,  Q               ]       };
283     key <AD03> {        [           b,  B               ]       };
284     key <AD04> {        [           y,  Y               ]       };
285     key <AD05> {        [           u,  U               ]       };
286     key <AD06> {        [           r,  R               ]       };
287     key <AD07> {        [           s,  S               ]       };
288     key <AD08> {        [           o,  O               ]       };
289     key <AD09> {        [      period,  greater         ],
290                         [ dead_abovedot, periodcentered ]       };
291     key <AD10> {        [           6,  asciicircum     ],
292                         [ dead_circumflex, dead_circumflex ]    };
293     key <AD11> {        [           5,  percent         ]       };
294     key <AD12> {        [       equal,  plus            ]       };
295
296     key <AC01> {        [       minus,  underscore      ]       };
297     key <AC02> {        [           k,  K               ]       };
298     key <AC03> {        [           c,  C               ]       };
299     key <AC04> {        [           d,  D               ]       };
300     key <AC05> {        [           t,  T               ]       };
301     key <AC06> {        [           h,  H               ]       };
302     key <AC07> {        [           e,  E               ]       };
303     key <AC08> {        [           a,  A               ]       };
304     key <AC09> {        [           z,  Z               ]       };
305     key <AC10> {        [           8,  asterisk        ]       };
306     key <AC11> {        [           7,  ampersand       ]       };
307
308     key <AB01> {        [  apostrophe,  quotedbl        ],
309                         [  dead_acute,  dead_diaeresis  ]       };
310     key <AB02> {        [           x,  X               ]       };
311     key <AB03> {        [           g,  G               ]       };
312     key <AB04> {        [           v,  V               ]       };
313     key <AB05> {        [           w,  W               ]       };
314     key <AB06> {        [           n,  N               ]       };
315     key <AB07> {        [           i,  I               ]       };
316     key <AB08> {        [       comma,  less            ],
317                         [ dead_cedilla, dead_caron      ]       };
318     key <AB09> {        [           0,  parenright      ]       };
319     key <AB10> {        [           9,  parenleft       ],
320                         [  dead_grave                   ]       };
321 };
322
323 partial alphanumeric_keys
324 xkb_symbols "dvorak-r" {
325     
326     include "us(dvorak)"
327     name[Group1]= "U.S. English - Right handed Dvorak";
328
329     key <AE01> {        [           1,  exclam          ]       };
330     key <AE02> {        [           2,  at              ]       };
331     key <AE03> {        [           3,  numbersign      ]       };
332     key <AE04> {        [           4,  dollar          ]       };
333     key <AE05> {        [           j,  J               ]       };
334     key <AE06> {        [           l,  L               ]       };
335     key <AE07> {        [           m,  M               ]       };
336     key <AE08> {        [           f,  F               ]       };
337     key <AE09> {        [           p,  P               ]       };
338     key <AE10> {        [       slash,  question        ]       };
339     key <AE11> {        [ bracketleft,  braceleft       ]       };
340     key <AE12> {        [ bracketright, braceright      ],
341                         [  dead_tilde                   ]       };
342
343     key <AD01> {        [           5,  percent         ]       };
344     key <AD02> {        [           6,  asciicircum ],
345                         [ dead_circumflex, dead_circumflex ]    };
346     key <AD03> {        [           q,  Q               ]       };
347     key <AD04> {        [      period,  greater         ], 
348                         [ dead_abovedot, periodcentered ]       };
349     key <AD05> {        [           o,  O               ]       };
350     key <AD06> {        [           r,  R               ]       };
351     key <AD07> {        [           s,  S               ]       };
352     key <AD08> {        [           u,  U               ]       };
353     key <AD09> {        [           y,  Y               ]       };
354     key <AD10> {        [           b,  B               ]       };
355     key <AD11> {        [   semicolon,  colon           ],
356                         [ dead_ogonek, dead_doubleacute ]       };
357     key <AD12> {        [       equal,  plus            ]       };
358
359     key <AC01> {        [           7,  ampersand       ]       };
360     key <AC02> {        [           8,  asterisk        ]       };
361     key <AC03> {        [           z,  Z               ]       };
362     key <AC04> {        [           a,  A               ]       };
363     key <AC05> {        [           e,  E               ]       };
364     key <AC06> {        [           h,  H               ]       };
365     key <AC07> {        [           t,  T               ]       };
366     key <AC08> {        [           d,  D               ]       };
367     key <AC09> {        [           c,  C               ]       };
368     key <AC10> {        [           k,  K               ]       };
369     key <AC11> {        [       minus,  underscore      ]       };
370
371     key <AB01> {        [           9,  parenleft       ],
372                         [  dead_grave                   ]       };
373     key <AB02> {        [           0,  parenright      ]       };
374     key <AB03> {        [           x,  X               ]       };
375     key <AB04> {        [       comma,  less            ],
376                         [ dead_cedilla, dead_caron      ]       };
377     key <AB05> {        [           i,  I               ]       };
378     key <AB06> {        [           n,  N               ]       };
379     key <AB07> {        [           w,  W               ]       };
380     key <AB08> {        [           v,  V               ]       };
381     key <AB09> {        [           g,  G               ]       };
382     key <AB10> {        [  apostrophe,  quotedbl        ],
383                         [  dead_acute,  dead_diaeresis  ]       };
384 };
385
386 // Classic dvorak layout
387 // by Piter Punk <piterpk@terra.com.br> - 2006-07-06 
388 // Based on dvorak layout and e-mail from Russel L. Harris rlharris@oplink.net 
389 // on xorg list.
390 partial alphanumeric_keys
391 xkb_symbols "dvorak-classic" {
392
393     name[Group1]= "U.S. English - Classic Dvorak";
394
395     // Alphanumeric section
396
397     key <TLDE> { [       grave, asciitilde, dead_grave, dead_tilde      ] };
398
399     key <AE01> { [ bracketleft, braceleft       ]       };
400     key <AE02> { [          7,  ampersand       ]       };
401     key <AE03> { [          5,  percent         ]       };
402     key <AE04> { [          3,  numbersign      ]       };
403     key <AE05> { [          1,  exclam          ]       };
404     key <AE06> { [          9,  parenleft,  dead_grave] };
405     key <AE07> { [          0,  parenright      ]       };
406     key <AE08> { [          2,  at              ]       };
407     key <AE09> { [          4,  dollar          ]       };
408     key <AE10> { [          6,  asciicircum, dead_circumflex, dead_circumflex ] };
409     key <AE11> { [          8,  asterisk        ]       };
410     key <AE12> { [ bracketright, braceright,  dead_tilde] };
411
412     key <AD01> { [      slash,  question        ]       };
413     key <AD02> { [      comma,  less,   dead_cedilla, dead_caron        ] };
414     key <AD03> { [      period, greater, dead_abovedot, periodcentered  ] };
415     key <AD04> { [          p,  P               ]       };
416     key <AD05> { [          y,  Y               ]       };
417     key <AD06> { [          f,  F               ]       };
418     key <AD07> { [          g,  G               ]       };
419     key <AD08> { [          c,  C               ]       };
420     key <AD09> { [          r,  R               ]       };
421     key <AD10> { [          l,  L               ]       };
422     key <AD11> { [  apostrophe, quotedbl, dead_acute, dead_diaeresis    ] };
423     key <AD12> { [      equal,  plus            ]       };
424
425     key <AC01> { [          a,  A               ]       };
426     key <AC02> { [          o,  O               ]       };
427     key <AC03> { [          e,  E               ]       };
428     key <AC04> { [          u,  U               ]       };
429     key <AC05> { [          i,  I               ]       };
430     key <AC06> { [          d,  D               ]       };
431     key <AC07> { [          h,  H               ]       };
432     key <AC08> { [          t,  T               ]       };
433     key <AC09> { [          n,  N               ]       };
434     key <AC10> { [          s,  S               ]       };
435     key <AC11> { [      minus,  underscore      ]       };
436
437     key <AB01> { [   semicolon, colon, dead_ogonek, dead_doubleacute ] };
438     key <AB02> { [          q,  Q               ]       };
439     key <AB03> { [          j,  J               ]       };
440     key <AB04> { [          k,  K               ]       };
441     key <AB05> { [          x,  X               ]       };
442     key <AB06> { [          b,  B               ]       };
443     key <AB07> { [          m,  M               ]       };
444     key <AB08> { [          w,  W               ]       };
445     key <AB09> { [          v,  V               ]       };
446     key <AB10> { [          z,  Z               ]       };
447     key <BKSL> { [  backslash,  bar             ]       };
448 };
449
450 // phonetic layout for Russian letters on an US keyboard
451 // by Ivan Popov <pin@konvalo.org> 2005-07-17
452
453 // level3 modifier is a shortcut to the "us" meaning of the keys where
454 // we place cyrillic letters, handy for accessing the corresponding
455 // punctuation marks.
456 // It is important to have access to punctuation marks, and the rest of
457 // alphabetical keys are added for being consequent so that the users
458 // can expect the level3 modifier to give what the key label shows.
459
460 partial alphanumeric_keys
461 xkb_symbols "rus" {
462
463     name[Group1]= "U.S. English - Russian phonetic";
464
465     include "us(basic)"
466
467 key.type[group1]="FOUR_LEVEL_ALPHABETIC";
468
469     key <LatA> {        [ Cyrillic_a, Cyrillic_A ]      };
470     key <LatB> {        [ Cyrillic_be, Cyrillic_BE ]    };
471     key <LatW> {        [ Cyrillic_ve, Cyrillic_VE ]    };
472     key <LatG> {        [ Cyrillic_ghe, Cyrillic_GHE ]  };
473     key <LatD> {        [ Cyrillic_de, Cyrillic_DE ]    };
474     key <LatE> {        [ Cyrillic_ie, Cyrillic_IE ]    };
475     key <TLDE> {        [ Cyrillic_io, Cyrillic_IO, grave, asciitilde ] };
476     key <LatV> {        [ Cyrillic_zhe, Cyrillic_ZHE ]  };
477     key <LatZ> {        [ Cyrillic_ze, Cyrillic_ZE ]    };
478     key <LatI> {        [ Cyrillic_i, Cyrillic_I ]      };
479     key <LatJ> {        [ Cyrillic_shorti, Cyrillic_SHORTI ]    };
480     key <LatK> {        [ Cyrillic_ka, Cyrillic_KA ]    };
481     key <LatL> {        [ Cyrillic_el, Cyrillic_EL ]    };
482     key <LatM> {        [ Cyrillic_em, Cyrillic_EM ]    };
483     key <LatN> {        [ Cyrillic_en, Cyrillic_EN ]    };
484     key <LatO> {        [ Cyrillic_o, Cyrillic_O ]      };
485     key <LatP> {        [ Cyrillic_pe, Cyrillic_PE ]    };
486     key <LatR> {        [ Cyrillic_er, Cyrillic_ER ]    };
487     key <LatS> {        [ Cyrillic_es, Cyrillic_ES ]    };
488     key <LatT> {        [ Cyrillic_te, Cyrillic_TE ]    };
489     key <LatU> {        [ Cyrillic_u, Cyrillic_U ]      };
490     key <LatF> {        [ Cyrillic_ef, Cyrillic_EF ]    };
491     key <LatH> {        [ Cyrillic_ha, Cyrillic_HA ]    };
492     key <LatC> {        [ Cyrillic_tse, Cyrillic_TSE ]  };
493     key <AC10> {        [ Cyrillic_che, Cyrillic_CHE, semicolon, colon ] };
494     key <AD11> {        [ Cyrillic_sha, Cyrillic_SHA, bracketleft, braceleft] };
495     key <AD12> {        [ Cyrillic_shcha, Cyrillic_SHCHA, bracketright, braceright ]    };
496     key <AE12> {        [ Cyrillic_hardsign, Cyrillic_HARDSIGN, equal, plus ] };
497     key <LatY> {        [ Cyrillic_yeru, Cyrillic_YERU ]        };
498     key <LatX> {        [ Cyrillic_softsign, Cyrillic_SOFTSIGN ]        };
499     key <BKSL> {        [ Cyrillic_e, Cyrillic_E, backslash, bar ]      };
500     key <AC11> {        [ Cyrillic_yu, Cyrillic_YU, apostrophe, quotedbl ] };
501     key <LatQ> {        [ Cyrillic_ya, Cyrillic_YA ]    };
502
503     include "level3(ralt_switch)"
504 };
505
506 partial alphanumeric_keys
507 xkb_symbols "mac" {
508
509     include "us"
510     name[Group1]= "U.S. English - Macintosh";
511 };
512  
513 // Colemak symbols for xkb on X.Org Server 7.x
514 // 2006-01-01 Shai Coleman, http://colemak.com/ . Public domain.
515
516 partial alphanumeric_keys
517 xkb_symbols "colemak" {
518     include "us"
519     name[Group1]= "U.S. English - Colemak";
520
521     // Alphanumeric section
522     key <TLDE> { [        grave,   asciitilde,      dead_tilde,       asciitilde ] };
523     key <AE01> { [            1,       exclam,      exclamdown,      onesuperior ] };
524     key <AE02> { [            2,           at,       masculine,      twosuperior ] };
525     key <AE03> { [            3,   numbersign,     ordfeminine,    threesuperior ] };
526     key <AE04> { [            4,       dollar,            cent,         sterling ] };
527     key <AE05> { [            5,      percent,        EuroSign,              yen ] };
528     key <AE06> { [            6,  asciicircum,         hstroke,          Hstroke ] };
529     key <AE07> { [            7,    ampersand,             eth,              ETH ] };
530     key <AE08> { [            8,     asterisk,           thorn,            THORN ] };
531     key <AE09> { [            9,    parenleft,  leftsinglequotemark,  leftdoublequotemark ] };
532     key <AE10> { [            0,   parenright, rightsinglequotemark,  rightdoublequotemark ] };
533     key <AE11> { [        minus,   underscore,          endash,           emdash ] };
534     key <AE12> { [        equal,         plus,        multiply,         division ] };
535
536     key <AD01> { [            q,            Q,      adiaeresis,       Adiaeresis ] };
537     key <AD02> { [            w,            W,           aring,            Aring ] };
538     key <AD03> { [            f,            F,          atilde,           Atilde ] };
539     key <AD04> { [            p,            P,          oslash,         Ooblique ] };
540     key <AD05> { [            g,            G,     dead_ogonek,       asciitilde ] };
541     key <AD06> { [            j,            J,         dstroke,          Dstroke ] };
542     key <AD07> { [            l,            L,         lstroke,          Lstroke ] };
543     key <AD08> { [            u,            U,          uacute,           Uacute ] };
544     key <AD09> { [            y,            Y,      udiaeresis,       Udiaeresis ] };
545     key <AD10> { [    semicolon,        colon,      odiaeresis,       Odiaeresis ] };
546     key <AD11> { [  bracketleft,    braceleft,   guillemotleft,        0x1002039 ] };
547     key <AD12> { [ bracketright,   braceright,  guillemotright,        0x100203a ] };
548     key <BKSL> { [    backslash,          bar,      asciitilde,       asciitilde ] };
549
550     key <AC01> { [            a,            A,          aacute,           Aacute ] };
551     key <AC02> { [            r,            R,      dead_grave,       asciitilde ] };
552     key <AC03> { [            s,            S,          ssharp,       asciitilde ] };
553     key <AC04> { [            t,            T,      dead_acute, dead_doubleacute ] };
554     key <AC05> { [            d,            D,  dead_diaeresis,       asciitilde ] };
555     key <AC06> { [            h,            H,      dead_caron,       asciitilde ] };
556     key <AC07> { [            n,            N,          ntilde,           Ntilde ] };
557     key <AC08> { [            e,            E,          eacute,           Eacute ] };
558     key <AC09> { [            i,            I,          iacute,           Iacute ] };
559     key <AC10> { [            o,            O,          oacute,           Oacute ] };
560     key <AC11> { [   apostrophe,     quotedbl,          otilde,           Otilde ] };
561
562     key <AB01> { [            z,            Z,              ae,               AE ] };
563     key <AB02> { [            x,            X, dead_circumflex,       asciitilde ] };
564     key <AB03> { [            c,            C,        ccedilla,         Ccedilla ] };
565     key <AB04> { [            v,            V,              oe,               OE ] };
566     key <AB05> { [            b,            B,      dead_breve,       asciitilde ] };
567     key <AB06> { [            k,            K,  dead_abovering,       asciitilde ] };
568     key <AB07> { [            m,            M,     dead_macron,       asciitilde ] };
569     key <AB08> { [        comma,         less,    dead_cedilla,       asciitilde ] };
570     key <AB09> { [       period,      greater,   dead_abovedot,       asciitilde ] };
571     key <AB10> { [        slash,     question,    questiondown,       asciitilde ] };
572
573     key <CAPS> { [    BackSpace,    BackSpace,       BackSpace,        BackSpace ] };
574     key <LSGT> { [        minus,   underscore,          endash,           emdash ] };
575     key <SPCE> { [        space,        space,           space,     nobreakspace ] };
576
577     include "level3(ralt_switch)"
578 };
579
580 // I do NOT like dead-keys - the International keyboard as defined by Microsoft
581 // doesn't fit my needs. Why use two keystrokes for all simple characters (eg '
582 // and <space> generates a single ') just to have an é (eacute) in two strokes
583 // as well? I type ' more often than é (eacute).
584 //
585 // This file works just like a regular keyboard, BUT has all dead-keys
586 // accessible at level3 (through AltGr). An ë (ediaeresis) is now: AltGr+"
587 // followed by an e. In other words, this keyboard is not international as long
588 // as you leave the right Alt key alone.
589 //
590 // The original MS International keyboard was intended for Latin1 (iso8859-1).
591 // With the introduction of iso8859-15, the (important) ligature oe (and OE)
592 // became available. I added them next to ae. Because I write ediaeresis more
593 // often than registered, I moved registered to be next to copyright and added
594 // ediaeresis and idiaeresis. - Adriaan
595
596 partial alphanumeric_keys
597 xkb_symbols "altgr-intl" {
598
599    name[Group1]= "U.S. English - International (AltGr dead keys)";
600
601    include "us(intl)"
602
603 // five dead keys moved into level3:
604
605    key <TLDE> { [    grave, asciitilde,  dead_grave,   dead_tilde      ] };
606    key <AC11> { [apostrophe,quotedbl,    dead_acute,   dead_diaeresis  ] };
607
608 // diversions from the MS Intl keyboard:
609
610    key <AE01> { [        1, exclam,      onesuperior,  exclamdown      ] };
611    key <AD04> { [        r, R,           ediaeresis,   Ediaeresis      ] };
612    key <AC07> { [        j, J,           idiaeresis,   Idiaeresis      ] };
613    key <AB02> { [        x, X,           oe,           OE              ] };
614    key <AB04> { [        v, V,           registered,   registered      ] };
615
616 // onequarter etc (not in iso8859-15) deleted to get three unshifted deadkeys:
617
618    key <AE06> { [        6, asciicircum,       dead_circumflex         ] };
619    key <AE07> { [        7, ampersand,         dead_horn               ] };
620    key <AE08> { [        8, asterisk,          dead_ogonek             ] };
621
622    include "level3(ralt_switch)"
623 };
624
625 // Intel ClassmatePC Keyboard Layout
626 // by Piter PUNK <piterpk@terra.com.br>
627 //
628 // The keyboard layouts below maps the us(basic), us(intl) and us(alt-intl)
629 // to ClassmatePC keyboard. All layouts uses RCTL as level3(switch) since
630 // the keyboard doesn't have AltGr key. The EuroSign is engraved at 5 key.
631
632 // classmate - us(basic)
633 partial alphanumeric_keys
634 xkb_symbols "classmate" {
635     include "us(basic)"
636     name[Group1]= "U.S. English - ClassmatePC";
637
638     key <LSGT> { [ backslash,   bar,            backslash,      bar ] };
639
640     include "eurosign(5)"
641     include "level3(switch)"
642 };
643
644 // classmate-intl - us(intl)
645 // RCTL is generated by Fn+Alt, because that, when trying to access
646 // the level3 symbols at 7,8,9,0,u,i,o,p,j,k,l,;,m,. and / we got
647 // the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key>
648 // generate the same symbol as the original key.
649 partial alphanumeric_keys
650 xkb_symbols "classmate-intl" {
651     include "us(intl)"
652     name[Group1]= "U.S. English - ClassmatePC (International)";
653     key.type[Group1]="FOUR_LEVEL";
654
655     key <LSGT> { [ backslash,   bar,            backslash,      bar ] };
656
657     key <KP7>  { [      KP_Home,                KP_7,   
658                         onehalf,                dead_horn       ] };
659     key <KP8>  { [      KP_Up,                  KP_8,
660                         threequarters,          dead_ogonek     ] };
661     key <KP9>  { [      KP_Prior,               KP_9,
662                         leftsinglequotemark,    dead_breve      ] };
663     key <KPMU> { [      KP_Multiply,            KP_Multiply,
664                         rightsinglequotemark,   dead_abovering  ] };
665
666     key <KP4>  { [      KP_Left,                KP_4,
667                         uacute,                 Uacute          ] };
668     key <KP5>  { [      KP_Begin,               KP_5,
669                         iacute,                 Iacute          ] };
670     key <KP6>  { [      KP_Right,               KP_6,
671                         oacute,                 Oacute          ] };
672     key <KPSU> { [      KP_Subtract,            KP_Subtract,
673                         odiaresis,              Odiaresis       ] };
674
675     key <KP2>  { [      KP_Down,                KP_2,
676                         oe,                     OE              ] };
677     key <KP3>  { [      KP_Next,                KP_3,
678                         oslash,                 Ooblique        ] };
679     key <KPAD> { [      KP_Add,                 KP_Add,
680                         paragraph,              degree          ] };
681    
682     key <KP0>  { [      KP_Insert,              KP_0,
683                         mu,                     mu      ] };
684     key <KPDL> { [      KP_Delete,              KP_Decimal,
685                         dead_abovedot,          dead_caron      ] }; 
686     key <KPDV> { [      KP_Divide,              KP_Divide,
687                         questiondown,           dead_hook       ] };
688
689     include "level3(switch)"
690 };
691
692 // classmate-alt-intl - us(alt-intl)
693 // RCTL is generated by Fn+Alt, because that, when trying to access
694 // the level3 symbols at 7,8,9,0,u,i,o,p,j,k,l,;,m,. and / we got
695 // the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key>
696 // generate the same symbol as the original key.
697 partial alphanumeric_keys
698 xkb_symbols "classmate-alt-intl" {
699     include "us(alt-intl)"
700     name[Group1]= "U.S. English - ClassmatePC (Alternative International)";
701     key.type[Group1]="FOUR_LEVEL";
702
703     key <LSGT> { [ backslash,   bar,            backslash,      bar ] };
704
705     key <KPSU> { [      KP_Subtract,            KP_Subtract     ] };
706
707     key <KP9>  { [      KP_Prior,               KP_9,
708                         leftsinglequotemark,    dead_breve      ] };
709     key <KPMU> { [      KP_Multiply,            KP_Multiply,
710                         rightsinglequotemark,   dead_abovering  ] };
711
712     key <KPAD> { [      KP_Add,                 KP_Add,
713                         dead_ogonek,            dead_diaresis   ] };
714     
715     key <KPDL> { [      KP_Delete,              KP_Decimal,
716                         dead_abovedot,          dead_circumflex ] }; 
717     key <KPDV> { [      KP_Divide,              KP_Divide,
718                         dead_hook,              dead_hook       ] };
719
720     include "level3(switch)"
721 };
722
723 // classmate-altgr-intl - us(altgr-intl)
724 // RCTL is generated by Fn+Alt, because that, when trying to access
725 // the level3 symbols at 7,8,9,0,u,i,o,p,j,k,l,;,m,. and / we got
726 // the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key>
727 // generate the same symbol as the original key.
728 partial alphanumeric_keys
729 xkb_symbols "classmate-altgr-intl" {
730     include "us(altgr-intl)"
731     name[Group1]= "U.S. English - ClassmatePC (International Fn+Alt dead-keys)";
732     key.type[Group1]="FOUR_LEVEL";
733
734     key <LSGT> { [ backslash,   bar,            backslash,      bar ] };
735
736     key <KP7>  { [      KP_Home,                KP_7,   
737                         dead_horn,              dead_horn       ] };
738     key <KP8>  { [      KP_Up,                  KP_8,
739                         dead_ogonek,            dead_ogonek     ] };
740     key <KP9>  { [      KP_Prior,               KP_9,
741                         leftsinglequotemark,    dead_breve      ] };
742     key <KPMU> { [      KP_Multiply,            KP_Multiply,
743                         rightsinglequotemark,   dead_abovering  ] };
744
745     key <KP4>  { [      KP_Left,                KP_4,
746                         uacute,                 Uacute          ] };
747     key <KP5>  { [      KP_Begin,               KP_5,
748                         iacute,                 Iacute          ] };
749     key <KP6>  { [      KP_Right,               KP_6,
750                         oacute,                 Oacute          ] };
751     key <KPSU> { [      KP_Subtract,            KP_Subtract,
752                         odiaresis,              Odiaresis       ] };
753
754     key <KP1>  { [      KP_End,                 KP_1,
755                         idiaresis,              Idiaresis       ] };
756     key <KP2>  { [      KP_Down,                KP_2,
757                         oe,                     OE              ] };
758     key <KP3>  { [      KP_Next,                KP_3,
759                         oslash,                 Ooblique        ] };
760     key <KPAD> { [      KP_Add,                 KP_Add,
761                         paragraph,              degree          ] };
762    
763     key <KP0>  { [      KP_Insert,              KP_0,
764                         mu,                     mu      ] };
765     key <KPDL> { [      KP_Delete,              KP_Decimal,
766                         dead_abovedot,          dead_caron      ] }; 
767     key <KPDV> { [      KP_Divide,              KP_Divide,
768                         questiondown,           dead_hook       ] };
769
770     include "level3(switch)"
771 };