1 // $XFree86: xc/programs/xkbcomp/symbols/ie,v 1.3 2002/12/31 02:07:04 dawes Exp $
5 // Support for Irish (old and new orthography) and English
6 // Seamus O Ciardhuain <seoc@cnds.ucd.ie> (19 December 2002)
8 // The general idea is to provide the characters in ISO 8859-1,
9 // ISO 8859-15, ISO 8859-14, CP1252 and "Extended Latin-8".
10 // However, not all are accessible directly because there aren't
11 // enough keys; some need deadkeys to access them, others the
12 // "Multi_key" compose sequences.
14 // Designed to be similar to the layouts used on Windows
17 // Everything is in Group 1 to be compatible with the
18 // multi-layout keyboard support in XFree86 4.3.
20 // The basic layout is a modern keyboard, but dotted consonants are
21 // accessible using a deadkey (AltGr+H or AltGr+W).
22 // If a proper Clo Gaelach keyboard is needed, then use the layout
23 // defined below as ie(CloGaelach), which gives dotted consonants
24 // without use of a deadkey.
27 partial default alphanumeric_keys
30 // Modern keyboard for Irish and English
31 // - acute-accented vowels as AltGr+vowel and AltGr+Shift+vowel
32 // - euro currency sign as AltGr+4
33 // - Comhartha Agus (Tironian Sign Et) as AltGr+Shift+7
34 // - non-breaking space as AltGr+Space and AltGr+Shift+Space
35 // - matches hardware (keys and engraved symbols) for Irish keyboards
37 name[Group1] = "Irish";
40 // Numeric row `1234567890-=
42 key <TLDE> { [ grave, notsign, brokenbar, NoSymbol ] };
43 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
44 key <AE02> { [ 2, quotedbl, trademark, twosuperior ] };
45 key <AE03> { [ 3, sterling, copyright, threesuperior ] };
46 key <AE04> { [ 4, dollar, EuroSign, cent ] };
47 key <AE05> { [ 5, percent, section, dagger ] };
48 key <AE06> { [ 6, asciicircum, dead_circumflex, 0x1002030 ] };
50 key <AE07> { [ 7, ampersand, paragraph, 0x100204A ] };
52 key <AE08> { [ 8, asterisk, dead_diaeresis, enfilledcircbullet ] };
53 key <AE09> { [ 9, parenleft, ordfeminine, periodcentered ] };
54 key <AE10> { [ 0, parenright, masculine, degree ] };
55 key <AE11> { [ minus, underscore, endash, emdash ] };
56 key <AE12> { [ equal, plus, notequal, plusminus ] };
61 key <AD01> { [ q, Q, oe, OE ] };
62 key <AD02> { [ w, W, dead_abovedot, dead_abovedot ] };
63 key <AD03> { [ e, E, eacute, Eacute ] };
64 key <AD04> { [ r, R, registered, 0x1002030 ] };
66 key <AD05> { [ t, T, thorn, THORN ] };
67 key <AD06> { [ y, Y, yen, mu ] };
68 key <AD07> { [ u, U, uacute, Uacute ] };
69 key <AD08> { [ i, I, iacute, Iacute ] };
70 key <AD09> { [ o, O, oacute, Oacute ] };
71 key <AD10> { [ p, P, singlelowquotemark, NoSymbol ] };
72 key <AD11> { [ bracketleft, braceleft, leftdoublequotemark, rightdoublequotemark ] };
73 key <AD12> { [ bracketright, braceright, leftsinglequotemark, rightsinglequotemark ] };
78 key <AC01> { [ a, A, aacute, Aacute ] };
79 key <AC02> { [ s, S, ssharp, NoSymbol ] };
80 key <AC03> { [ d, D, eth, ETH ] };
81 key <AC04> { [ f, F, 0x1000192, NoSymbol ] };
83 key <AC05> { [ g, G, copyright, NoSymbol ] };
84 key <AC06> { [ h, H, dead_abovedot, dead_abovedot ] };
85 key <AC07> { [ j, J, idotless, onequarter ] };
86 key <AC08> { [ k, K, dead_abovering, onehalf ] };
87 key <AC09> { [ l, L, acute, threequarters ] };
88 key <AC10> { [ semicolon, colon, ellipsis, doubledagger ] };
89 key <AC11> { [ apostrophe, at, ae, AE ] };
90 key <BKSL> { [ numbersign, asciitilde, guillemotleft, guillemotright ] };
96 key <LSGT> { [ backslash, bar, dead_grave, dead_acute ] };
97 key <AB01> { [ z, Z, leftanglebracket, rightanglebracket ] };
98 key <AB02> { [ x, X, multiply, approximate ] };
99 key <AB03> { [ c, C, dead_cedilla, cedilla ] };
100 key <AB04> { [ v, V, dead_caron, NoSymbol ] };
101 key <AB05> { [ b, B, diaeresis, NoSymbol ] };
102 key <AB06> { [ n, N, dead_tilde, NoSymbol ] };
103 key <AB07> { [ m, M, macron, NoSymbol ] };
104 key <AB08> { [ comma, less, lessthanequal, doublelowquotemark ] };
105 key <AB09> { [ period, greater, greaterthanequal, singlelowquotemark ] };
106 key <AB10> { [ slash, question, division, questiondown ] };
109 key <SPCE> { [ space, space, nobreakspace, nobreakspace ] };
111 include "level3(ralt_switch)"
113 // NB: putting Shift+<RALT> as Multi_key gives odd behaviour since the
114 // order of pressing keys affects the result.
116 key <RWIN> { type[Group1]="TWO_LEVEL", [ Multi_key, ISO_Next_Group ] };
119 partial alphanumeric_keys
120 xkb_symbols "laptop" {
121 // For laptops which don't have the RWIN key but are otherwise
122 // the same as 105-key layouts.
124 key <MENU> { type[Group1]="TWO_LEVEL", [ Multi_key, ISO_Next_Group ] };
127 partial alphanumeric_keys
128 xkb_symbols "CloGaelach" {
130 // Adds support for Clo Gaelach (old orthography for Irish).
131 // Changes from "basic":
132 // - dotted consonants as AltGr+consonant or AltGr+Shift+consonant (TPSDFGCBM)
133 // - long lowercase r as AltGr+R
134 // - long lowercase s as AltGr+Z
135 // - long lowercase s dotted as AltGr+Shift+Z
136 // - some symbols moved around to retain them
137 // - several characters unlikely to be used are lost
138 // The long letters are needed only where the font provides
139 // both the long and short forms as different glyphs.
143 name[Group1] = "Irish (Clo Gaelach)";
145 key <TLDE> { [ grave, notsign, brokenbar, ssharp ] };
146 key <AD04> { [ r, R, 0x100027C, registered ] };
148 key <AD05> { [ t, T, tabovedot, Tabovedot ] };
149 key <AD10> { [ p, P, pabovedot, Pabovedot ] };
151 key <AC02> { [ s, S, sabovedot, Sabovedot ] };
152 key <AC03> { [ d, D, dabovedot, Dabovedot ] };
153 key <AC04> { [ f, F, fabovedot, Fabovedot ] };
154 key <AC05> { [ g, G, gabovedot, Gabovedot ] };
156 key <AB01> { [ z, Z, 0x100017F, 0x1001E9B ] };
157 // long s, long s dot
158 key <AB03> { [ c, C, cabovedot, Cabovedot ] };
159 key <AB05> { [ b, B, babovedot, Babovedot ] };
160 key <AB07> { [ m, M, mabovedot, Mabovedot ] };
162 key <LSGT> { [ backslash, bar, dead_grave, dead_cedilla ] };
165 partial alphanumeric_keys
166 xkb_symbols "CloGaelachLaptop" {
167 // For laptops which don't have the RWIN key but are otherwise
168 // the same as 105-key layouts.
169 include "ie(CloGaelach)"
170 key <MENU> { type[Group1]="TWO_LEVEL", [ Multi_key, ISO_Next_Group ] };
173 partial alphanumeric_keys
174 xkb_symbols "UnicodeExpert" {
176 // This should eventually be a "Unicode Expert" layout like the Mac one.
178 name[Group1] = "Irish (Unicode Expert)";
181 // Numeric row `1234567890-=
183 key <TLDE> { [ grave, notsign, 0x10000A6, 0x10000A6 ] };
185 key <AE01> { [ 1, exclam, NoSymbol, NoSymbol ] };
186 key <AE02> { [ 2, quotedbl, dead_doubleacute, dead_doubleacute ] };
187 key <AE03> { [ 3, sterling, NoSymbol, NoSymbol ] };
188 key <AE04> { [ 4, dollar, EuroSign, EuroSign ] };
189 key <AE05> { [ 5, percent, NoSymbol, NoSymbol ] };
190 key <AE06> { [ 6, asciicircum, dead_circumflex, dead_circumflex ] };
191 key <AE07> { [ 7, ampersand, 0x100204A, 0x100204A ] };
193 key <AE08> { [ 8, asterisk, dead_abovering, dead_abovering ] };
194 key <AE09> { [ 9, parenleft, dead_breve, dead_breve ] };
195 key <AE10> { [ 0, parenright, dead_ogonek, dead_ogonek ] };
196 key <AE11> { [ minus, underscore, dead_macron, dead_macron ] };
197 key <AE12> { [ equal, plus, NoSymbol, NoSymbol ] };
202 key <AD01> { [ q, Q, NoSymbol, NoSymbol ] };
203 key <AD02> { [ w, W, NoSymbol, NoSymbol ] };
204 key <AD03> { [ e, E, eacute, Eacute ] };
205 key <AD04> { [ r, R, 0x100027C, 0x100027C ] };
207 key <AD05> { [ t, T, NoSymbol, NoSymbol ] };
208 key <AD06> { [ y, Y, NoSymbol, NoSymbol ] };
209 key <AD07> { [ u, U, uacute, Uacute ] };
210 key <AD08> { [ i, I, iacute, Iacute ] };
211 key <AD09> { [ o, O, oacute, Oacute ] };
212 key <AD10> { [ p, P, NoSymbol, NoSymbol ] };
213 key <AD11> { [ bracketleft, braceleft, dead_hook, dead_hook ] };
214 key <AD12> { [ bracketright, braceright, dead_horn, dead_horn ] };
219 key <AC01> { [ a, A, aacute, Aacute ] };
220 key <AC02> { [ s, S, NoSymbol, NoSymbol ] };
221 key <AC03> { [ d, D, NoSymbol, NoSymbol ] };
222 key <AC04> { [ f, F, NoSymbol, NoSymbol ] };
223 key <AC05> { [ g, G, NoSymbol, NoSymbol ] };
224 key <AC06> { [ h, H, dead_abovedot, dead_abovedot ] };
225 key <AC07> { [ j, J, NoSymbol, NoSymbol ] };
226 key <AC08> { [ k, K, NoSymbol, NoSymbol ] };
227 key <AC09> { [ l, L, NoSymbol, NoSymbol ] };
228 key <AC10> { [ semicolon, colon, dead_diaeresis, dead_diaeresis ] };
229 key <AC11> { [ apostrophe, at, dead_acute, dead_acute ] };
230 key <BKSL> { [ numbersign, asciitilde, dead_tilde, dead_tilde ] };
235 key <LSGT> { [ backslash, bar, dead_grave, dead_grave ] };
236 key <AB01> { [ z, Z, 0x100017F, 0x1001E9B ] };
237 // long s, long s dot
238 key <AB02> { [ x, X, NoSymbol, NoSymbol ] };
239 key <AB03> { [ c, C, NoSymbol, NoSymbol ] };
240 key <AB04> { [ v, V, dead_caron, dead_caron ] };
241 key <AB05> { [ b, B, NoSymbol, NoSymbol ] };
242 key <AB06> { [ n, N, NoSymbol, NoSymbol ] };
243 key <AB07> { [ m, M, NoSymbol, NoSymbol ] };
244 key <AB08> { [ comma, less, dead_cedilla, dead_cedilla ] };
245 key <AB09> { [ period, greater, dead_abovedot, dead_abovedot ] };
246 key <AB10> { [ slash, question, dead_belowdot, dead_belowdot ] };
248 key <SPCE> { [ space, space, space, nobreakspace ] };
250 include "level3(ralt_switch)"
252 key <RWIN> { type[Group1]="TWO_LEVEL", [ Multi_key, ISO_Next_Group ] };