added grp(alt_space_toogle), b.fd.o#15772
[xorg/xkeyboard-config] / symbols / ma
1 // Arabic AZERTY with modern Latin digits 
2 partial default alphanumeric_keys
3 xkb_symbols "arabic" {
4     include "ara(azerty)"
5
6     name[Group1]="Morocco";
7 };
8
9 // French AZERTY keyboard used when typing French
10 partial alphanumeric_keys
11 xkb_symbols "french" {
12     include "fr(basic)"
13
14     name[Group1]="Morocco - French";
15 };
16
17 // Clavier unicode tifinaghe de base réalisé par l'IRCAM (Institut Royal de la Culture Amazighe du Maroc) http://www.ircam.ma/
18 // Support des lettres unicode tifinaghe-IRCAM, néotifinaghes & touarègues.
19 // Les caractères tifinaghes sont accessibles en SHIFT positions pour le niveau 2, en ALTGR positions pour le niveau 3
20 // Polices tifinaghes Unicode à télécharger depuis :
21 // http://www.ircam.ma/documents/policesclavierunicode/hapaxber.ttf (licence non libre, libre téléchargement et distribution uniquement)
22 // Minihowto ici: http://perso.menara.ma/~kebdani/tamazgha/gnu_amazigh.html
23
24 partial alphanumeric_keys
25 xkb_symbols "tifinagh" {
26
27     name[Group1]="Morocco - Tifinagh";
28
29     key <TLDE>  { [ twosuperior, NoAction ]     };
30     key <AE01>  { [ ampersand,          1 ]     };
31     key <AE02>  { [ NoAction,          2, asciitilde    ]       };
32     key <AE03>  { [  quotedbl,          3, numbersign   ]       };
33     key <AE04>  { [apostrophe,          4, braceleft    ]       };
34     key <AE05>  { [ parenleft,          5, bracketleft  ]       };
35     key <AE06>  { [     minus,          6, bar  ]       };
36     key <AE07>  { [         NoAction ,  7 ]     };
37     key <AE08>  { [underscore,          8, backslash    ]       };
38     key <AE09>  { [NoAction,         9, asciicircum     ]       };
39     key <AE10>  { [       NoAction ,          0, at             ]       };
40     key <AE11>  { [parenright,     degree, bracketright ]       };
41     key <AE12>  { [     equal,       plus, braceright   ]       };
42
43     key <AD01>  { [ 0x1002d30 ] };
44     key <AD02>  { [ 0x1002d63, 0x1002d65 ]      };
45     key <AD03>  { [ 0x1002d3b, NoAction,0x10020ac ]     };
46     key <AD04>  { [ 0x1002d54, 0x1002d55 ]      };
47     key <AD05>  { [ 0x1002d5c, 0x1002d5f ]      };
48     key <AD06>  { [ 0x1002d62 ] };
49     key <AD07>  { [ 0x1002d53 ] };
50     key <AD08>  { [ 0x1002d49 ] };
51     key <AD09>  { [ 0x1002d44 ] };
52     key <AD10>  { [ 0x1002d43 ] };
53     key <AD11>  { [ 0x1002d6f ]   };
54     key <AD12>  { [    dollar,   sterling,   0x10000a4] };
55
56     key <AC01>  { [ 0x1002d47 ] };
57     key <AC02>  { [ 0x1002d59, 0x1002d5a ]      };
58     key <AC03>  { [ 0x1002d37, 0x1002d39 ]      };
59     key <AC04>  { [ 0x1002d3c ] };
60     key <AC05>  { [ 0x1002d33, 0x1002d33]       };
61     key <AC06>  { [ 0x1002d40 ] };
62     key <AC07>  { [ 0x1002d4a ] };
63     key <AC08>  { [ 0x1002d3d,  0x1002d3d  ]    };
64     key <AC09>  { [ 0x1002d4d ] };
65     key <AC10>  { [ 0x1002d4e ] };
66     key <AC11>  { [    NoAction ,   percent ]   };
67     key <BKSL>  { [  asterisk,         mu ]     };
68
69     key <AB01>  { [ 0x1002d61 ] };
70     key <AB02>  { [ 0x1002d45 ] };
71     key <AB03>  { [ 0x1002d5b ] };
72     key <AB04>  { [ 0x1002d56 ] };
73     key <AB05>  { [ 0x1002d31 ] };
74     key <AB06>  { [ 0x1002d4f ] };
75     key <AB07>  { [     comma,   question ] };
76     key <AB08>  { [ semicolon,     period ] };
77     key <AB09>  { [     colon,      slash ] };
78     key <AB10>  { [    exclam,    section ] };
79
80     include "level3(ralt_switch)"
81 };
82
83 partial alphanumeric_keys
84 xkb_symbols "tifinagh-phonetic" {
85
86     name[Group1]="Morocco - Tifinagh Phonetic";
87     include "ma(tifinagh)"
88
89     key <LatA>  { [ 0x1002d30 ] };
90     key <LatZ>  { [ 0x1002d63, 0x1002d65 ]      };
91     key <LatE>  { [ 0x1002d3b, NoAction,0x10020ac ]     };
92     key <LatR>  { [ 0x1002d54, 0x1002d55 ]      };
93     key <LatT>  { [ 0x1002d5c, 0x1002d5f ]      };
94     key <LatY>  { [ 0x1002d62 ] };
95     key <LatU>  { [ 0x1002d53 ] };
96     key <LatI>  { [ 0x1002d49 ] };
97     key <LatO>  { [ 0x1002d44 ] };
98     key <LatP>  { [ 0x1002d43 ] };
99
100     key <LatQ>  { [ 0x1002d47 ] };
101     key <LatS>  { [ 0x1002d59, 0x1002d5a ]      };
102     key <LatD>  { [ 0x1002d37, 0x1002d39 ]      };
103     key <LatF>  { [ 0x1002d3c ] };
104     key <LatG>  { [ 0x1002d33 ] };
105     key <LatH>  { [ 0x1002d40 ] };
106     key <LatJ>  { [ 0x1002d4a ] };
107     key <LatK>  { [ 0x1002d3d ] };
108     key <LatL>  { [ 0x1002d4d ] };
109     key <LatM>  { [ 0x1002d4e ] };
110
111     key <LatW>  { [ 0x1002d61,0x1002d6f ]       };
112     key <LatX>  { [ 0x1002d45 ] };
113     key <LatC>  { [ 0x1002d5b ] };
114     key <LatV>  { [ 0x1002d56 ] };
115     key <LatB>  { [ 0x1002d31 ] };
116     key <LatN>  { [ 0x1002d4f ] };
117
118     include "level3(ralt_switch)"
119 };
120
121 // Clavier unicode tifinaghe étendu réalisé par l'IRCAM (Institut Royal de la Culture Amazighe du Maroc) http://www.ircam.ma/
122 // Support des lettres unicode tifinaghe-IRCAM, néotifinaghes & touarègues.
123 // Les caractères tifinaghes sont accessibles en SHIFT positions pour le niveau 2, en ALTGR positions pour le niveau 3
124 // Polices tifinaghes Unicode à télécharger depuis :
125 // http://www.ircam.ma/documents/policesclavierunicode/hapaxber.ttf (licence non libre, libre téléchargement et distribution uniquement)
126 // Minihowto ici: http://perso.menara.ma/~kebdani/tamazgha/gnu_amazigh.html
127
128 partial alphanumeric_keys
129 xkb_symbols "tifinagh-extended" {
130
131     name[Group1]="Morocco - Tifinagh Extended";
132
133     key <TLDE>  { [ twosuperior,0x100200C ]     };
134     key <AE01>  { [ ampersand,          1 ]     };
135     key <AE02>  { [0x1002d52,          2, asciitilde    ]       };
136     key <AE03>  { [  quotedbl,          3, numbersign   ]       };
137     key <AE04>  { [apostrophe,          4, braceleft    ]       };
138     key <AE05>  { [ parenleft,          5, bracketleft  ]       };
139     key <AE06>  { [ minus,          6, bar              ]       };
140     key <AE07>  { [ 0x1002d64 ,  7 ]    };
141     key <AE08>  { [underscore,          8, backslash    ]       };
142     key <AE09>  { [ 0x1002014,         9, asciicircum   ]       };
143     key <AE10>  { [ 0x100200d,          0, at   ]       };
144     key <AE11>  { [parenright,   degree, bracketright   ]       };
145     key <AE12>  { [     equal,       plus, braceright   ]       };
146
147     key <AD01>  { [ 0x1002d30, 0x1002d36 ]      };
148     key <AD02>  { [ 0x1002d63, 0x1002d65 ]      };
149     key <AD03>  { [ 0x1002d3b, 0x1002d57, 0x10020ac ]   };
150     key <AD04>  { [ 0x1002d54, 0x1002d55 ]      };
151     key <AD05>  { [ 0x1002d5c, 0x1002d5f ]      };
152     key <AD06>  { [ 0x1002d62, 0x1002d42 ]      };
153     key <AD07>  { [ 0x1002d53, 0x1002d4c ]      };
154     key <AD08>  { [ 0x1002d49, 0x1002d58 ]      };
155     key <AD09>  { [ 0x1002d44, 0x1002d5d ]      };
156     key <AD10>  { [ 0x1002d43, 0x1002d5e ]      };
157     key <AD11>  { [ 0x1002d6f, 0x1002d60 ]   };
158     key <AD12>  { [    dollar,   sterling,   0x10000a4] };
159
160     key <AC01>  { [ 0x1002d47, 0x1002d48 ]      };
161     key <AC02>  { [ 0x1002d59, 0x1002d5a ]      };
162     key <AC03>  { [ 0x1002d37, 0x1002d39 ]      };
163     key <AC04>  { [ 0x1002d3c, 0x1002d35 ]      };
164     key <AC05>  { [ 0x1002d33, 0x1002d33 ]      };
165     key <AC06>  { [ 0x1002d40, 0x1002d41 ]      };
166     key <AC07>  { [ 0x1002d4a, 0x1002d4b ]      };
167     key <AC08>  { [ 0x1002d3d, 0x1002d3d ]      };
168     key <AC09>  { [ 0x1002d4d, 0x1002d38 ]      };
169     key <AC10>  { [ 0x1002d4e, 0x1002d3a ]      };
170     key <AC11>  { [ 0x1002d51,  percent  ]      };
171     key <BKSL>  { [ asterisk,   mu       ]      };
172
173     key <AB01>  { [ 0x1002d61, 0x1002d3e ]      };
174     key <AB02>  { [ 0x1002d45, 0x1002d46 ]      };
175     key <AB03>  { [ 0x1002d5b, 0x1002d3f ]      };
176     key <AB04>  { [ 0x1002d56, 0x1002d34 ]      };
177     key <AB05>  { [ 0x1002d31, 0x1002d32 ]      };
178     key <AB06>  { [ 0x1002d4f, 0x1002d50 ]      };
179     key <AB07>  { [     comma,  question ]    };
180     key <AB08>  { [ semicolon,    period ]    };
181     key <AB09>  { [     colon,     slash ]    };
182     key <AB10>  { [    exclam,   section ]    };
183
184     include "level3(ralt_switch)"
185 };
186
187 partial alphanumeric_keys
188 xkb_symbols "tifinagh-extended-phonetic" {
189     include "ma(tifinagh-extended)"
190
191     name[Group1]="Morocco - Tifinagh Extended Phonetic";
192
193     key <LatA>  { [ 0x1002d30 ] };
194     key <LatZ>  { [ 0x1002d63, 0x1002d65 ]      };
195     key <LatE>  { [ 0x1002d3b, NoAction,0x10020ac ]     };
196     key <LatR>  { [ 0x1002d54, 0x1002d55 ]      };
197     key <LatT>  { [ 0x1002d5c, 0x1002d5f ]      };
198     key <LatY>  { [ 0x1002d62 ] };
199     key <LatU>  { [ 0x1002d53 ] };
200     key <LatI>  { [ 0x1002d49 ] };
201     key <LatO>  { [ 0x1002d44 ] };
202     key <LatP>  { [ 0x1002d43 ] };
203
204     key <LatQ>  { [ 0x1002d47 ] };
205     key <LatS>  { [ 0x1002d59, 0x1002d5a ]      };
206     key <LatD>  { [ 0x1002d37, 0x1002d39 ]      };
207     key <LatF>  { [ 0x1002d3c ] };
208     key <LatG>  { [ 0x1002d33 ] };
209     key <LatH>  { [ 0x1002d40 ] };
210     key <LatJ>  { [ 0x1002d4a ] };
211     key <LatK>  { [ 0x1002d3d ] };
212     key <LatL>  { [ 0x1002d4d ] };
213     key <LatM>  { [ 0x1002d4e ] };
214
215     key <LatW>  { [ 0x1002d61 ] };
216     key <LatX>  { [ 0x1002d45 ] };
217     key <LatC>  { [ 0x1002d5b ] };
218     key <LatV>  { [ 0x1002d56 ] };
219     key <LatB>  { [ 0x1002d31 ] };
220     key <LatN>  { [ 0x1002d4f ] };
221
222     include "level3(ralt_switch)"
223 };
224
225 // Tifinagh keyboard; improved from the IRCAM layout to make all
226 // tifinagh chars in unicode accessible (in shift positions for most
227 // touareg letters; in altgr position for spirants.
228
229 partial alphanumeric_keys
230 xkb_symbols "tifinagh-alt" {
231
232     name[Group1]="Morocco - Tifinagh Alternative";
233
234     key <TLDE>  { [ twosuperior, asciitilde ]   };
235     key <AE01>  { [ ampersand,          1 ]     };
236     key <AE02>  { [asciitilde,          2, asciitilde   ]       };
237     key <AE03>  { [  quotedbl,          3, numbersign   ]       };
238     key <AE04>  { [apostrophe,          4, braceleft    ]       };
239     key <AE05>  { [ parenleft,          5, bracketleft  ]       };
240     key <AE06>  { [     minus,          6, bar          ]       };
241     key <AE07>  { [     grave,          7, grave        ]       };
242     key <AE08>  { [underscore,          8, backslash    ]       };
243     key <AE09>  { [asciicircum,         9, asciicircum  ]       };
244     key <AE10>  { [        at,          0, at           ]       };
245     key <AE11>  { [parenright,     degree, bracketright ]       };
246     key <AE12>  { [     equal,       plus, braceright   ]       };
247
248     key <AD01>  { [ 0x1002d30 ] };
249     key <AD02>  { [ 0x1002d63, 0x1002d65, 0x1002d64 ]   };
250     key <AD03>  { [ 0x1002d3b ] };
251     key <AD04>  { [ 0x1002d54, 0x1002d55 ]      };
252     key <AD05>  { [ 0x1002d5c, 0x1002d5f, 0x1002d5d ]   };
253     key <AD06>  { [ 0x1002d62 ] };
254     key <AD07>  { [ 0x1002d53 ] };
255     key <AD08>  { [ 0x1002d49 ] };
256     key <AD09>  { [ 0x1002d44 ] };
257     key <AD10>  { [ 0x1002d43, 0x1002d52 ]      };
258     key <AD11>  { [ dead_circumflex ] };
259     key <AD12>  { [    dollar,   sterling ]     };
260
261     key <AC01>  { [ 0x1002d47, 0x1002d48 ]      };
262     key <AC02>  { [ 0x1002d59, 0x1002d5a ]      };
263     key <AC03>  { [ 0x1002d37, 0x1002d39, 0x1002d38, 0x1002d3a ]        };
264     key <AC04>  { [ 0x1002d3c ] };
265     key <AC05>  { [ 0x1002d33, 0x1002d36, 0x1002d34, 0x1002d35 ]        };
266     key <AC06>  { [ 0x1002d40, 0x1002d42, 0x1002d41 ]   };
267     key <AC07>  { [ 0x1002d4a, 0x1002d4c, 0x1002d4b ]   };
268     key <AC08>  { [ 0x1002d3d, 0x1002d3e, 0x1002d3f ]   };
269     key <AC09>  { [ 0x1002d4d ] };
270     key <AC10>  { [ 0x1002d4e ] };
271     key <AC11>  { [ percent ]   };
272     key <BKSL>  { [  asterisk,         mu ]     };
273
274     key <AB01>  { [ 0x1002d61, 0x1002d6f, 0x1002d60 ]   };
275     key <AB02>  { [ 0x1002d45, 0x1002d46 ]      };
276     key <AB03>  { [ 0x1002d5b, 0x1002d5e ]      };
277     key <AB04>  { [ 0x1002d56, 0x1002d57, 0x1002d58 ]   };
278     key <AB05>  { [ 0x1002d31, 0x1002d31, 0x1002d32 ]   };
279     key <AB06>  { [ 0x1002d4f, 0x1002d50, 0x1002d51 ]   };
280     key <AB07>  { [     comma,   question ] };
281     key <AB08>  { [ semicolon,     period ] };
282     key <AB09>  { [     colon,      slash ] };
283     key <AB10>  { [    exclam,    section ] };
284
285     include "level3(ralt_switch)"
286 };
287
288 partial alphanumeric_keys
289 xkb_symbols "tifinagh-alt-phonetic" {
290     include "ma(tifinagh-alt)"
291
292     name[Group1]="Morocco - Tifinagh Alternative Phonetic";
293
294     key <LatA>  { [ 0x1002d30 ] };
295     key <LatZ>  { [ 0x1002d63, 0x1002d65, 0x1002d64 ]   };
296     key <LatE>  { [ 0x1002d3b ] };
297     key <LatR>  { [ 0x1002d54, 0x1002d55 ]      };
298     key <LatT>  { [ 0x1002d5c, 0x1002d5f, 0x1002d5d ]   };
299     key <LatY>  { [ 0x1002d62 ] };
300     key <LatU>  { [ 0x1002d53 ] };
301     key <LatI>  { [ 0x1002d49 ] };
302     key <LatO>  { [ 0x1002d44 ] };
303     key <LatP>  { [ 0x1002d43, 0x1002d52 ]      };
304
305     key <LatQ>  { [ 0x1002d47, 0x1002d48 ]      };
306     key <LatS>  { [ 0x1002d59, 0x1002d5a ]      };
307     key <LatD>  { [ 0x1002d37, 0x1002d39, 0x1002d38, 0x1002d3a ]        };
308     key <LatF>  { [ 0x1002d3c ] };
309     key <LatG>  { [ 0x1002d33, 0x1002d36, 0x1002d34, 0x1002d35 ]        };
310     key <LatH>  { [ 0x1002d40, 0x1002d42, 0x1002d41 ]   };
311     key <LatJ>  { [ 0x1002d4a, 0x1002d4c, 0x1002d4b ]   };
312     key <LatK>  { [ 0x1002d3d, 0x1002d3e, 0x1002d3f ]   };
313     key <LatL>  { [ 0x1002d4d ] };
314     key <LatM>  { [ 0x1002d4e ] };
315
316     key <LatW>  { [ 0x1002d61, 0x1002d6f, 0x1002d60 ]   };
317     key <LatX>  { [ 0x1002d45, 0x1002d46 ]      };
318     key <LatC>  { [ 0x1002d5b, 0x1002d5e ]      };
319     key <LatV>  { [ 0x1002d56, 0x1002d57, 0x1002d58 ]   };
320     key <LatB>  { [ 0x1002d31, 0x1002d31, 0x1002d32 ]   };
321     key <LatN>  { [ 0x1002d4f, 0x1002d50, 0x1002d51 ]   };
322
323     include "level3(ralt_switch)"
324 };
325