3 // $XFree86: xc/programs/xkbcomp/symbols/ie,v 1.3 2002/12/31 02:07:04 dawes Exp $
7 // Support for Irish (old and new orthography) and English
8 // Seamus O Ciardhuain <seoc@cnds.ucd.ie> (19 December 2002)
10 // The general idea is to provide the characters in ISO 8859-1,
11 // ISO 8859-15, ISO 8859-14, CP1252 and "Extended Latin-8".
12 // However, not all are accessible directly because there aren't
13 // enough keys; some need deadkeys to access them, others the
14 // "Multi_key" compose sequences.
16 // Designed to be similar to the layouts used on Windows
19 // Everything is in Group 1 to be compatible with the
20 // multi-layout keyboard support in XFree86 4.3.
22 // The basic layout is a modern keyboard, but dotted consonants are
23 // accessible using a deadkey (AltGr+H or AltGr+W).
24 // If a proper Clo Gaelach keyboard is needed, then use the layout
25 // defined below as ie(CloGaelach), which gives dotted consonants
26 // without use of a deadkey.
29 partial default alphanumeric_keys
32 // Modern keyboard for Irish and English
33 // - acute-accented vowels as AltGr+vowel and AltGr+Shift+vowel
34 // - euro currency sign as AltGr+4
35 // - Comhartha Agus (Tironian Sign Et) as AltGr+Shift+7
36 // - non-breaking space as AltGr+Space and AltGr+Shift+Space
37 // - matches hardware (keys and engraved symbols) for Irish keyboards
39 name[Group1] = "Ireland";
42 // Numeric row `1234567890-=
44 key <TLDE> { [ grave, notsign, brokenbar, NoSymbol ] };
45 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
46 key <AE02> { [ 2, quotedbl, trademark, twosuperior ] };
47 key <AE03> { [ 3, sterling, copyright, threesuperior ] };
48 key <AE04> { [ 4, dollar, EuroSign, cent ] };
49 key <AE05> { [ 5, percent, section, dagger ] };
50 key <AE06> { [ 6, asciicircum, dead_circumflex, 0x1002030 ] };
52 key <AE07> { [ 7, ampersand, paragraph, 0x100204A ] };
54 key <AE08> { [ 8, asterisk, dead_diaeresis, enfilledcircbullet ] };
55 key <AE09> { [ 9, parenleft, ordfeminine, periodcentered ] };
56 key <AE10> { [ 0, parenright, masculine, degree ] };
57 key <AE11> { [ minus, underscore, endash, emdash ] };
58 key <AE12> { [ equal, plus, notequal, plusminus ] };
63 key <AD01> { [ q, Q, oe, OE ] };
64 key <AD02> { [ w, W, dead_abovedot, dead_abovedot ] };
65 key <AD03> { [ e, E, eacute, Eacute ] };
66 key <AD04> { [ r, R, registered, 0x1002030 ] };
68 key <AD05> { [ t, T, thorn, THORN ] };
69 key <AD06> { [ y, Y, yen, mu ] };
70 key <AD07> { [ u, U, uacute, Uacute ] };
71 key <AD08> { [ i, I, iacute, Iacute ] };
72 key <AD09> { [ o, O, oacute, Oacute ] };
73 key <AD10> { [ p, P, singlelowquotemark, NoSymbol ] };
74 key <AD11> { [ bracketleft, braceleft, leftdoublequotemark, rightdoublequotemark ] };
75 key <AD12> { [ bracketright, braceright, leftsinglequotemark, rightsinglequotemark ] };
80 key <AC01> { [ a, A, aacute, Aacute ] };
81 key <AC02> { [ s, S, ssharp, NoSymbol ] };
82 key <AC03> { [ d, D, eth, ETH ] };
83 key <AC04> { [ f, F, 0x1000192, NoSymbol ] };
85 key <AC05> { [ g, G, copyright, NoSymbol ] };
86 key <AC06> { [ h, H, dead_abovedot, dead_abovedot ] };
87 key <AC07> { [ j, J, idotless, onequarter ] };
88 key <AC08> { [ k, K, dead_abovering, onehalf ] };
89 key <AC09> { [ l, L, acute, threequarters ] };
90 key <AC10> { [ semicolon, colon, ellipsis, doubledagger ] };
91 key <AC11> { [ apostrophe, at, ae, AE ] };
92 key <BKSL> { [ numbersign, asciitilde, guillemotleft, guillemotright ] };
98 key <LSGT> { [ backslash, bar, dead_grave, dead_acute ] };
99 key <AB01> { [ z, Z, leftanglebracket, rightanglebracket ] };
100 key <AB02> { [ x, X, multiply, approximate ] };
101 key <AB03> { [ c, C, dead_cedilla, cedilla ] };
102 key <AB04> { [ v, V, dead_caron, NoSymbol ] };
103 key <AB05> { [ b, B, diaeresis, NoSymbol ] };
104 key <AB06> { [ n, N, dead_tilde, NoSymbol ] };
105 key <AB07> { [ m, M, macron, NoSymbol ] };
106 key <AB08> { [ comma, less, lessthanequal, doublelowquotemark ] };
107 key <AB09> { [ period, greater, greaterthanequal, singlelowquotemark ] };
108 key <AB10> { [ slash, question, division, questiondown ] };
111 key <SPCE> { [ space, space, nobreakspace, nobreakspace ] };
113 include "level3(ralt_switch)"
115 // NB: putting Shift+<RALT> as Multi_key gives odd behaviour since the
116 // order of pressing keys affects the result.
118 include "compose(rwin)"
121 partial alphanumeric_keys
122 xkb_symbols "laptop" {
123 // For laptops which don't have the RWIN key but are otherwise
124 // the same as 105-key layouts.
126 name[Group1] = "Ireland - Laptop";
127 include "compose(menu)"
130 partial alphanumeric_keys
131 xkb_symbols "CloGaelach" {
133 // Adds support for Clo Gaelach (old orthography for Irish).
134 // Changes from "basic":
135 // - dotted consonants as AltGr+consonant or AltGr+Shift+consonant (TPSDFGCBM)
136 // - long lowercase r as AltGr+R
137 // - long lowercase s as AltGr+Z
138 // - long lowercase s dotted as AltGr+Shift+Z
139 // - some symbols moved around to retain them
140 // - several characters unlikely to be used are lost
141 // The long letters are needed only where the font provides
142 // both the long and short forms as different glyphs.
146 name[Group1] = "Ireland - CloGaelach";
148 key <TLDE> { [ grave, notsign, brokenbar, ssharp ] };
149 key <AD04> { [ r, R, 0x100027C, registered ] };
151 key <AD05> { [ t, T, tabovedot, Tabovedot ] };
152 key <AD10> { [ p, P, pabovedot, Pabovedot ] };
154 key <AC02> { [ s, S, sabovedot, Sabovedot ] };
155 key <AC03> { [ d, D, dabovedot, Dabovedot ] };
156 key <AC04> { [ f, F, fabovedot, Fabovedot ] };
157 key <AC05> { [ g, G, gabovedot, Gabovedot ] };
159 key <AB01> { [ z, Z, 0x100017F, 0x1001E9B ] };
160 // long s, long s dot
161 key <AB03> { [ c, C, cabovedot, Cabovedot ] };
162 key <AB05> { [ b, B, babovedot, Babovedot ] };
163 key <AB07> { [ m, M, mabovedot, Mabovedot ] };
165 key <LSGT> { [ backslash, bar, dead_grave, dead_cedilla ] };
168 partial alphanumeric_keys
169 xkb_symbols "CloGaelachLaptop" {
170 // For laptops which don't have the RWIN key but are otherwise
171 // the same as 105-key layouts.
172 include "ie(CloGaelach)"
173 name[Group1] = "Ireland - CloGaelach Laptop";
174 include "compose(menu)"
177 partial alphanumeric_keys
178 xkb_symbols "UnicodeExpert" {
180 // This should eventually be a "Unicode Expert" layout like the Mac one.
182 name[Group1] = "Ireland - UnicodeExpert";
185 // Numeric row `1234567890-=
187 key <TLDE> { [ grave, notsign, 0x10000A6, 0x10000A6 ] };
189 key <AE01> { [ 1, exclam, NoSymbol, NoSymbol ] };
190 key <AE02> { [ 2, quotedbl, dead_doubleacute, dead_doubleacute ] };
191 key <AE03> { [ 3, sterling, NoSymbol, NoSymbol ] };
192 key <AE04> { [ 4, dollar, EuroSign, EuroSign ] };
193 key <AE05> { [ 5, percent, NoSymbol, NoSymbol ] };
194 key <AE06> { [ 6, asciicircum, dead_circumflex, dead_circumflex ] };
195 key <AE07> { [ 7, ampersand, 0x100204A, 0x100204A ] };
197 key <AE08> { [ 8, asterisk, dead_abovering, dead_abovering ] };
198 key <AE09> { [ 9, parenleft, dead_breve, dead_breve ] };
199 key <AE10> { [ 0, parenright, dead_ogonek, dead_ogonek ] };
200 key <AE11> { [ minus, underscore, dead_macron, dead_macron ] };
201 key <AE12> { [ equal, plus, NoSymbol, NoSymbol ] };
206 key <AD01> { [ q, Q, NoSymbol, NoSymbol ] };
207 key <AD02> { [ w, W, NoSymbol, NoSymbol ] };
208 key <AD03> { [ e, E, eacute, Eacute ] };
209 key <AD04> { [ r, R, 0x100027C, 0x100027C ] };
211 key <AD05> { [ t, T, NoSymbol, NoSymbol ] };
212 key <AD06> { [ y, Y, NoSymbol, NoSymbol ] };
213 key <AD07> { [ u, U, uacute, Uacute ] };
214 key <AD08> { [ i, I, iacute, Iacute ] };
215 key <AD09> { [ o, O, oacute, Oacute ] };
216 key <AD10> { [ p, P, NoSymbol, NoSymbol ] };
217 key <AD11> { [ bracketleft, braceleft, dead_hook, dead_hook ] };
218 key <AD12> { [ bracketright, braceright, dead_horn, dead_horn ] };
223 key <AC01> { [ a, A, aacute, Aacute ] };
224 key <AC02> { [ s, S, NoSymbol, NoSymbol ] };
225 key <AC03> { [ d, D, NoSymbol, NoSymbol ] };
226 key <AC04> { [ f, F, NoSymbol, NoSymbol ] };
227 key <AC05> { [ g, G, NoSymbol, NoSymbol ] };
228 key <AC06> { [ h, H, dead_abovedot, dead_abovedot ] };
229 key <AC07> { [ j, J, NoSymbol, NoSymbol ] };
230 key <AC08> { [ k, K, NoSymbol, NoSymbol ] };
231 key <AC09> { [ l, L, NoSymbol, NoSymbol ] };
232 key <AC10> { [ semicolon, colon, dead_diaeresis, dead_diaeresis ] };
233 key <AC11> { [ apostrophe, at, dead_acute, dead_acute ] };
234 key <BKSL> { [ numbersign, asciitilde, dead_tilde, dead_tilde ] };
239 key <LSGT> { [ backslash, bar, dead_grave, dead_grave ] };
240 key <AB01> { [ z, Z, 0x100017F, 0x1001E9B ] };
241 // long s, long s dot
242 key <AB02> { [ x, X, NoSymbol, NoSymbol ] };
243 key <AB03> { [ c, C, NoSymbol, NoSymbol ] };
244 key <AB04> { [ v, V, dead_caron, dead_caron ] };
245 key <AB05> { [ b, B, NoSymbol, NoSymbol ] };
246 key <AB06> { [ n, N, NoSymbol, NoSymbol ] };
247 key <AB07> { [ m, M, NoSymbol, NoSymbol ] };
248 key <AB08> { [ comma, less, dead_cedilla, dead_cedilla ] };
249 key <AB09> { [ period, greater, dead_abovedot, dead_abovedot ] };
250 key <AB10> { [ slash, question, dead_belowdot, dead_belowdot ] };
252 key <SPCE> { [ space, space, space, nobreakspace ] };
254 include "level3(ralt_switch)"
256 include "compose(rwin)"
260 // Ogham keyboard map for XFree86
262 // Seamus O Ciardhuain <seoc@cnds.ucd.ie> (17 December 2002)
264 // Ogham keyboard layout as recommended in I.S. 434:1999.
265 // Suitable for multi-layout xkbcomp.
266 // Character names are given as in the Unicode standard,
267 // range U+1680 to U+169F.
269 partial alphanumeric_keys
272 name[Group1] = "Ireland - Ogham";
274 key.type[Group1] = "ONE_LEVEL";
276 key <LSGT> { type[Group1]="TWO_LEVEL",
277 [ 0x100169B, 0x100169C ] };
278 // OGHAM FEATHER MARK, OGHAM REVERSED FEATHER MARK
280 key <BKSL> { [ 0x1001680 ] }; // OGHAM SPACE MARK
282 key <TLDE> { [ 0x100169C ] }; // OGHAM REVERSED FEATHER MARK
284 key <SPCE> { [ space ] };
287 // Top Row QWERTYUIOP
289 key <AD01> { [ 0x100168A ] }; // OGHAM LETTER CEIRT
290 key <AD02> { [ 0x1001695 ] }; // OGHAM LETTER EABHADH
291 key <AD03> { [ 0x1001693 ] }; // OGHAM LETTER EADHADH
292 key <AD04> { [ 0x100168F ] }; // OGHAM LETTER RUIS
293 key <AD05> { [ 0x1001688 ] }; // OGHAM LETTER TINNE
294 key <AD06> { [ 0x1001698 ] }; // OGHAM LETTER IFIN
295 key <AD07> { [ 0x1001692 ] }; // OGHAM LETTER UR
296 key <AD08> { [ 0x1001694 ] }; // OGHAM LETTER IODHADH
297 key <AD09> { [ 0x1001691 ] }; // OGHAM LETTER ONN
298 key <AD10> { [ 0x100169A ] }; // OGHAM LETTER PEITH
301 // Middle Row ASDFGHJKL
303 key <AC01> { [ 0x1001690 ] }; // OGHAM LETTER AILM
304 key <AC02> { [ 0x1001684 ] }; // OGHAM LETTER SAIL
305 key <AC03> { [ 0x1001687 ] }; // OGHAM LETTER DAIR
306 key <AC04> { [ 0x1001683 ] }; // OGHAM LETTER FEARN
307 key <AC05> { [ 0x100168C ] }; // OGHAM LETTER GORT
308 key <AC06> { [ 0x1001686 ] }; // OGHAM LETTER UATH
309 key <AC07> { [ 0x1001697 ] }; // OGHAM LETTER UILLEANN
310 key <AC08> { [ 0x1001696 ] }; // OGHAM LETTER OR
311 key <AC09> { [ 0x1001682 ] }; // OGHAM LETTER LUIS
314 // Bottom Row ZXCVBNM
316 key <AB01> { [ 0x100168E ] }; // OGHAM LETTER STRAIF
317 key <AB02> { [ 0x1001699 ] }; // OGHAM LETTER EAMHANCHOLL
318 key <AB03> { [ 0x1001689 ] }; // OGHAM LETTER COLL
319 key <AB04> { [ 0x100168D ] }; // OGHAM LETTER NGEADAL
320 key <AB05> { [ 0x1001681 ] }; // OGHAM LETTER BEITH
321 key <AB06> { [ 0x1001685 ] }; // OGHAM LETTER NION
322 key <AB07> { [ 0x100168B ] }; // OGHAM LETTER MUIN
324 // As an extension because <BKSL> and <LSGT> may not be
325 // available or sensible. These are also a bit more
326 // intuitive on a standard Irish keyboard.
327 key <AB08> { [ 0x100169C ] }; // OGHAM REVERSED FEATHER MARK
328 key <AB09> { [ 0x100169B ] }; // OGHAM FEATHER MARK
329 key <AB10> { [ 0x1001680 ] }; // OGHAM SPACE MARK
331 include "compose(rwin)"
334 partial alphanumeric_keys
335 xkb_symbols "ogam_laptop" {
336 // For laptops which don't have the RWIN key but are otherwise
337 // the same as 105-key layouts.
339 name[Group1] = "Ireland - Ogham laptop";
340 include "compose(menu)"
344 partial alphanumeric_keys
345 xkb_symbols "ogam_is434" {
347 // This has the full layout of IS434 with an Irish QWERTY keyboard,
348 // and the Ogham characters accessed when CAPS LOCK is on.
350 name[Group1] = "Ireland - Ogham IS434";
352 key.type[Group1] = "THREE_LEVEL";
354 key <LSGT> { type[Group1] = "FOUR_LEVEL_ALPHABETIC",
355 [ backslash, bar, 0x100169B, 0x100169C ] };
356 // OGHAM FEATHER MARK, OGHAM REVERSED FEATHER MARK
358 key <BKSL> { [ numbersign, asciitilde, 0x1001680 ] }; // OGHAM SPACE MARK
359 key <TLDE> { [ grave, notsign, 0x100169C ] }; // OGHAM REVERSED FEATHER MARK
360 key <SPCE> { [ space, space, space ] };
365 key <AE01> { type[Group1]="TWO_LEVEL", [ 1, exclam ] };
366 key <AE02> { type[Group1]="TWO_LEVEL", [ 2, quotedbl ] };
367 key <AE03> { type[Group1]="TWO_LEVEL", [ 3, sterling ] };
368 key <AE04> { [ 4, dollar, EuroSign ] };
369 key <AE05> { type[Group1]="TWO_LEVEL", [ 5, percent ] };
370 key <AE06> { type[Group1]="TWO_LEVEL", [ 6, asciicircum ] };
371 key <AE07> { [ 7, ampersand, 0x100204A ] }; // Tironian Et
372 key <AE08> { type[Group1]="TWO_LEVEL", [ 8, asterisk ] };
373 key <AE09> { type[Group1]="TWO_LEVEL", [ 9, parenleft ] };
374 key <AE10> { type[Group1]="TWO_LEVEL", [ 0, parenright ] };
375 key <AE11> { type[Group1]="TWO_LEVEL", [ minus, underscore ] };
376 key <AE12> { type[Group1]="TWO_LEVEL", [ equal, plus ] };
379 // Top Row QWERTYUIOP
381 key <AD01> { [ q, Q, 0x100168A ] }; // OGHAM LETTER CEIRT
382 key <AD02> { [ w, W, 0x1001695 ] }; // OGHAM LETTER EABHADH
383 key <AD03> { [ e, E, 0x1001693 ] }; // OGHAM LETTER EADHADH
384 key <AD04> { [ r, R, 0x100168F ] }; // OGHAM LETTER RUIS
385 key <AD05> { [ t, T, 0x1001688 ] }; // OGHAM LETTER TINNE
386 key <AD06> { [ y, Y, 0x1001698 ] }; // OGHAM LETTER IFIN
387 key <AD07> { [ u, U, 0x1001692 ] }; // OGHAM LETTER UR
388 key <AD08> { [ i, I, 0x1001694 ] }; // OGHAM LETTER IODHADH
389 key <AD09> { [ o, O, 0x1001691 ] }; // OGHAM LETTER ONN
390 key <AD10> { [ p, P, 0x100169A ] }; // OGHAM LETTER PEITH
393 // Middle Row ASDFGHJKL
395 key <AC01> { [ a, A, 0x1001690 ] }; // OGHAM LETTER AILM
396 key <AC02> { [ s, S, 0x1001684 ] }; // OGHAM LETTER SAIL
397 key <AC03> { [ d, D, 0x1001687 ] }; // OGHAM LETTER DAIR
398 key <AC04> { [ f, F, 0x1001683 ] }; // OGHAM LETTER FEARN
399 key <AC05> { [ g, G, 0x100168C ] }; // OGHAM LETTER GORT
400 key <AC06> { [ h, H, 0x1001686 ] }; // OGHAM LETTER UATH
401 key <AC07> { [ j, J, 0x1001697 ] }; // OGHAM LETTER UILLEANN
402 key <AC08> { [ k, K, 0x1001696 ] }; // OGHAM LETTER OR
403 key <AC09> { [ l, L, 0x1001682 ] }; // OGHAM LETTER LUIS
406 // Bottom Row ZXCVBNM
408 key <AB01> { [ z, Z, 0x100168E ] }; // OGHAM LETTER STRAIF
409 key <AB02> { [ x, X, 0x1001699 ] }; // OGHAM LETTER EAMHANCHOLL
410 key <AB03> { [ c, C, 0x1001689 ] }; // OGHAM LETTER COLL
411 key <AB04> { [ v, V, 0x100168D ] }; // OGHAM LETTER NGEADAL
412 key <AB05> { [ b, B, 0x1001681 ] }; // OGHAM LETTER BEITH
413 key <AB06> { [ n, N, 0x1001685 ] }; // OGHAM LETTER NION
414 key <AB07> { [ m, M, 0x100168B ] }; // OGHAM LETTER MUIN
416 // As an extension because <BKSL> and <LSGT> may not be
417 // available or sensible. These are also a bit more
418 // intuitive on a standard Irish keyboard.
419 key <AB08> { [ comma, less, 0x100169C ] }; // OGHAM REVERSED FEATHER MARK
420 key <AB09> { [ period, greater, 0x100169B ] }; // OGHAM FEATHER MARK
421 key <AB10> { [ slash, question, 0x1001680 ] }; // OGHAM SPACE MARK
423 // The standard says the Ogham characters should be accessed when
424 // Caps Lock is down; not clear if this means it should lock but
427 key <CAPS> { type[Group1] = "ONE_LEVEL", [ ISO_Level3_Lock ] };
429 // Also allow access to Ogham characters using RALT for convenience
430 include "level3(ralt_switch)"
432 // Redefine Scroll Lock as locking shift in case that's needed.
433 // Also overcomes annoying use of Scroll Lock LED inherited from
434 // US symbols but not relevant here since we're not changing group.
435 key <SCLK> {type[Group1] = "ONE_LEVEL", [ Shift_Lock ] };
436 modifier_map Shift { Shift_Lock };
438 include "compose(rwin)"
441 partial alphanumeric_keys
442 xkb_symbols "ogam_is434laptop" {
443 // For laptops which don't have the RWIN key but are otherwise
444 // the same as 105-key layouts.
445 include "ie(ogam_is434)"
446 name[Group1] = "Ireland - Ogham IS434 laptop";
447 include "compose(menu)"