summaryrefslogtreecommitdiff
path: root/symbols/ma
blob: 1c1c332c153644b288c101ccc4ba9284cb7fc800 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
// Arabic AZERTY with modern Latin digits 
partial default alphanumeric_keys
xkb_symbols "arabic" {
    include "ara(azerty)"

    name[Group1]="Morocco";
};

// French AZERTY keyboard used when typing French
partial alphanumeric_keys
xkb_symbols "french" {
    include "fr(basic)"

    name[Group1]="Morocco - French";
};

// Clavier unicode tifinaghe de base réalisé par l'IRCAM (Institut Royal de la Culture Amazighe du Maroc) http://www.ircam.ma/
// Support des lettres unicode tifinaghe-IRCAM, néotifinaghes & touarègues.
// Les caractères tifinaghes sont accessibles en SHIFT positions pour le niveau 2, en ALTGR positions pour le niveau 3
// Polices tifinaghes Unicode à télécharger depuis :
// http://www.ircam.ma/documents/policesclavierunicode/hapaxber.ttf (licence non libre, libre téléchargement et distribution uniquement)
// Minihowto ici: http://perso.menara.ma/~kebdani/tamazgha/gnu_amazigh.html

partial alphanumeric_keys
xkb_symbols "tifinagh" {

    name[Group1]="Morocco - Tifinagh";

    key <TLDE>	{ [ twosuperior, NoAction ]	};
    key <AE01>	{ [ ampersand,          1 ]	};
    key <AE02>	{ [ NoAction,          2, asciitilde	]	};
    key <AE03>	{ [  quotedbl,          3, numbersign	]	};
    key <AE04>	{ [apostrophe,          4, braceleft	]	};
    key <AE05>	{ [ parenleft,          5, bracketleft	]	};
    key <AE06>	{ [     minus,          6, bar	]	};
    key <AE07>	{ [         NoAction ,  7 ]	};
    key <AE08>	{ [underscore,          8, backslash	]	};
    key <AE09>	{ [NoAction,         9, asciicircum	]	};
    key <AE10>	{ [       NoAction ,          0, at		]	};
    key <AE11>	{ [parenright,     degree, bracketright	]	};
    key <AE12>	{ [     equal,       plus, braceright	]	};

    key <AD01>	{ [ 0x1002d30 ]	};
    key <AD02>	{ [ 0x1002d63, 0x1002d65 ]	};
    key <AD03>	{ [ 0x1002d3b, NoAction,0x10020ac ]	};
    key <AD04>	{ [ 0x1002d54, 0x1002d55 ]	};
    key <AD05>	{ [ 0x1002d5c, 0x1002d5f ]	};
    key <AD06>	{ [ 0x1002d62 ]	};
    key <AD07>	{ [ 0x1002d53 ]	};
    key <AD08>	{ [ 0x1002d49 ]	};
    key <AD09>	{ [ 0x1002d44 ]	};
    key <AD10>	{ [ 0x1002d43 ]	};
    key <AD11>	{ [ 0x1002d6f ]   };
    key <AD12>	{ [    dollar,   sterling,   0x10000a4]	};

    key <AC01>	{ [ 0x1002d47 ]	};
    key <AC02>	{ [ 0x1002d59, 0x1002d5a ]	};
    key <AC03>	{ [ 0x1002d37, 0x1002d39 ]	};
    key <AC04>	{ [ 0x1002d3c ]	};
    key <AC05>	{ [ 0x1002d33, 0x1002d33]	};
    key <AC06>	{ [ 0x1002d40 ]	};
    key <AC07>	{ [ 0x1002d4a ]	};
    key <AC08>	{ [ 0x1002d3d,  0x1002d3d  ]	};
    key <AC09>	{ [ 0x1002d4d ]	};
    key <AC10>	{ [ 0x1002d4e ]	};
    key <AC11>	{ [    NoAction ,   percent ]	};
    key <BKSL>	{ [  asterisk,         mu ]	};

    key <AB01>	{ [ 0x1002d61 ]	};
    key <AB02>	{ [ 0x1002d45 ]	};
    key <AB03>	{ [ 0x1002d5b ]	};
    key <AB04>	{ [ 0x1002d56 ]	};
    key <AB05>	{ [ 0x1002d31 ]	};
    key <AB06>	{ [ 0x1002d4f ]	};
    key <AB07>	{ [     comma,   question ] };
    key <AB08>	{ [ semicolon,     period ] };
    key <AB09>	{ [     colon,      slash ] };
    key <AB10>	{ [    exclam,    section ] };

    include "level3(ralt_switch)"
};

partial alphanumeric_keys
xkb_symbols "tifinagh-phonetic" {

    name[Group1]="Morocco - Tifinagh phonetic";
    include "ma(tifinagh)"

    key <LatA>	{ [ 0x1002d30 ]	};
    key <LatZ>	{ [ 0x1002d63, 0x1002d65 ]	};
    key <LatE>	{ [ 0x1002d3b, NoAction,0x10020ac ]	};
    key <LatR>	{ [ 0x1002d54, 0x1002d55 ]	};
    key <LatT>	{ [ 0x1002d5c, 0x1002d5f ]	};
    key <LatY>	{ [ 0x1002d62 ]	};
    key <LatU>	{ [ 0x1002d53 ]	};
    key <LatI>	{ [ 0x1002d49 ]	};
    key <LatO>	{ [ 0x1002d44 ]	};
    key <LatP>	{ [ 0x1002d43 ]	};

    key <LatQ>	{ [ 0x1002d47 ]	};
    key <LatS>	{ [ 0x1002d59, 0x1002d5a ]	};
    key <LatD>	{ [ 0x1002d37, 0x1002d39 ]	};
    key <LatF>	{ [ 0x1002d3c ]	};
    key <LatG>	{ [ 0x1002d33 ]	};
    key <LatH>	{ [ 0x1002d40 ]	};
    key <LatJ>	{ [ 0x1002d4a ]	};
    key <LatK>	{ [ 0x1002d3d ]	};
    key <LatL>	{ [ 0x1002d4d ]	};
    key <LatM>	{ [ 0x1002d4e ]	};

    key <LatW>	{ [ 0x1002d61,0x1002d6f ]	};
    key <LatX>	{ [ 0x1002d45 ]	};
    key <LatC>	{ [ 0x1002d5b ]	};
    key <LatV>	{ [ 0x1002d56 ]	};
    key <LatB>	{ [ 0x1002d31 ]	};
    key <LatN>	{ [ 0x1002d4f ]	};

    include "level3(ralt_switch)"
};

// Clavier unicode tifinaghe étendu réalisé par l'IRCAM (Institut Royal de la Culture Amazighe du Maroc) http://www.ircam.ma/
// Support des lettres unicode tifinaghe-IRCAM, néotifinaghes & touarègues.
// Les caractères tifinaghes sont accessibles en SHIFT positions pour le niveau 2, en ALTGR positions pour le niveau 3
// Polices tifinaghes Unicode à télécharger depuis :
// http://www.ircam.ma/documents/policesclavierunicode/hapaxber.ttf (licence non libre, libre téléchargement et distribution uniquement)
// Minihowto ici: http://perso.menara.ma/~kebdani/tamazgha/gnu_amazigh.html

partial alphanumeric_keys
xkb_symbols "tifinagh-extended" {

    name[Group1]="Morocco - Tifinagh extended";

    key <TLDE>	{ [ twosuperior,0x100200C ]	};
    key <AE01>	{ [ ampersand,          1 ]	};
    key <AE02>	{ [0x1002d52,          2, asciitilde	]	};
    key <AE03>	{ [  quotedbl,          3, numbersign	]	};
    key <AE04>	{ [apostrophe,          4, braceleft	]	};
    key <AE05>	{ [ parenleft,          5, bracketleft	]	};
    key <AE06>	{ [ minus,          6, bar		]	};
    key <AE07>	{ [ 0x1002d64 ,  7 ]	};
    key <AE08>	{ [underscore,          8, backslash	]	};
    key <AE09>	{ [ 0x1002014,         9, asciicircum	]	};
    key <AE10>	{ [ 0x100200d,          0, at	]	};
    key <AE11>	{ [parenright,   degree, bracketright	]	};
    key <AE12>	{ [     equal,       plus, braceright	]	};

    key <AD01>	{ [ 0x1002d30, 0x1002d36 ]	};
    key <AD02>	{ [ 0x1002d63, 0x1002d65 ]	};
    key <AD03>	{ [ 0x1002d3b, 0x1002d57, 0x10020ac ]	};
    key <AD04>	{ [ 0x1002d54, 0x1002d55 ]	};
    key <AD05>	{ [ 0x1002d5c, 0x1002d5f ]	};
    key <AD06>	{ [ 0x1002d62, 0x1002d42 ]	};
    key <AD07>	{ [ 0x1002d53, 0x1002d4c ]	};
    key <AD08>	{ [ 0x1002d49, 0x1002d58 ]	};
    key <AD09>	{ [ 0x1002d44, 0x1002d5d ]	};
    key <AD10>	{ [ 0x1002d43, 0x1002d5e ]	};
    key <AD11>	{ [ 0x1002d6f, 0x1002d60 ]   };
    key <AD12>	{ [    dollar,   sterling,   0x10000a4]	};

    key <AC01>	{ [ 0x1002d47, 0x1002d48 ]	};
    key <AC02>	{ [ 0x1002d59, 0x1002d5a ]	};
    key <AC03>	{ [ 0x1002d37, 0x1002d39 ]	};
    key <AC04>	{ [ 0x1002d3c, 0x1002d35 ]	};
    key <AC05>	{ [ 0x1002d33, 0x1002d33 ]	};
    key <AC06>	{ [ 0x1002d40, 0x1002d41 ]	};
    key <AC07>	{ [ 0x1002d4a, 0x1002d4b ]	};
    key <AC08>	{ [ 0x1002d3d, 0x1002d3d ]	};
    key <AC09>	{ [ 0x1002d4d, 0x1002d38 ]	};
    key <AC10>	{ [ 0x1002d4e, 0x1002d3a ]	};
    key <AC11>	{ [ 0x1002d51,  percent  ]	};
    key <BKSL>	{ [ asterisk,   mu       ]	};

    key <AB01>	{ [ 0x1002d61, 0x1002d3e ]	};
    key <AB02>	{ [ 0x1002d45, 0x1002d46 ]	};
    key <AB03>	{ [ 0x1002d5b, 0x1002d3f ]	};
    key <AB04>	{ [ 0x1002d56, 0x1002d34 ]	};
    key <AB05>	{ [ 0x1002d31, 0x1002d32 ]	};
    key <AB06>	{ [ 0x1002d4f, 0x1002d50 ]	};
    key <AB07>	{ [     comma,  question ]    };
    key <AB08>	{ [ semicolon,    period ]    };
    key <AB09>	{ [     colon,     slash ]    };
    key <AB10>	{ [    exclam,   section ]    };

    include "level3(ralt_switch)"
};

partial alphanumeric_keys
xkb_symbols "tifinagh-extended-phonetic" {
    include "ma(tifinagh-extended)"

    name[Group1]="Morocco - Tifinagh extended phonetic";

    key <LatA>	{ [ 0x1002d30 ]	};
    key <LatZ>	{ [ 0x1002d63, 0x1002d65 ]	};
    key <LatE>	{ [ 0x1002d3b, NoAction,0x10020ac ]	};
    key <LatR>	{ [ 0x1002d54, 0x1002d55 ]	};
    key <LatT>	{ [ 0x1002d5c, 0x1002d5f ]	};
    key <LatY>	{ [ 0x1002d62 ]	};
    key <LatU>	{ [ 0x1002d53 ]	};
    key <LatI>	{ [ 0x1002d49 ]	};
    key <LatO>	{ [ 0x1002d44 ]	};
    key <LatP>	{ [ 0x1002d43 ]	};

    key <LatQ>	{ [ 0x1002d47 ]	};
    key <LatS>	{ [ 0x1002d59, 0x1002d5a ]	};
    key <LatD>	{ [ 0x1002d37, 0x1002d39 ]	};
    key <LatF>	{ [ 0x1002d3c ]	};
    key <LatG>	{ [ 0x1002d33 ]	};
    key <LatH>	{ [ 0x1002d40 ]	};
    key <LatJ>	{ [ 0x1002d4a ]	};
    key <LatK>	{ [ 0x1002d3d ]	};
    key <LatL>	{ [ 0x1002d4d ]	};
    key <LatM>	{ [ 0x1002d4e ]	};

    key <LatW>	{ [ 0x1002d61 ]	};
    key <LatX>	{ [ 0x1002d45 ]	};
    key <LatC>	{ [ 0x1002d5b ]	};
    key <LatV>	{ [ 0x1002d56 ]	};
    key <LatB>	{ [ 0x1002d31 ]	};
    key <LatN>	{ [ 0x1002d4f ]	};

    include "level3(ralt_switch)"
};

// Tifinagh keyboard; improved from the IRCAM layout to make all
// tifinagh chars in unicode accessible (in shift positions for most
// touareg letters; in altgr position for spirants.

partial alphanumeric_keys
xkb_symbols "tifinagh-alt" {

    name[Group1]="Morocco - Tifinagh alternative";

    key <TLDE>	{ [ twosuperior, asciitilde ]	};
    key <AE01>	{ [ ampersand,          1 ]	};
    key <AE02>	{ [asciitilde,          2, asciitilde	]	};
    key <AE03>	{ [  quotedbl,          3, numbersign	]	};
    key <AE04>	{ [apostrophe,          4, braceleft	]	};
    key <AE05>	{ [ parenleft,          5, bracketleft	]	};
    key <AE06>	{ [     minus,          6, bar		]	};
    key <AE07>	{ [     grave,          7, grave	]	};
    key <AE08>	{ [underscore,          8, backslash	]	};
    key <AE09>	{ [asciicircum,         9, asciicircum	]	};
    key <AE10>	{ [        at,          0, at		]	};
    key <AE11>	{ [parenright,     degree, bracketright	]	};
    key <AE12>	{ [     equal,       plus, braceright	]	};

    key <AD01>	{ [ 0x1002d30 ]	};
    key <AD02>	{ [ 0x1002d63, 0x1002d65, 0x1002d64 ]	};
    key <AD03>	{ [ 0x1002d3b ]	};
    key <AD04>	{ [ 0x1002d54, 0x1002d55 ]	};
    key <AD05>	{ [ 0x1002d5c, 0x1002d5f, 0x1002d5d ]	};
    key <AD06>	{ [ 0x1002d62 ]	};
    key <AD07>	{ [ 0x1002d53 ]	};
    key <AD08>	{ [ 0x1002d49 ]	};
    key <AD09>	{ [ 0x1002d44 ]	};
    key <AD10>	{ [ 0x1002d43, 0x1002d52 ]	};
    key <AD11>	{ [ dead_circumflex ] };
    key <AD12>	{ [    dollar,   sterling ]	};

    key <AC01>	{ [ 0x1002d47, 0x1002d48 ]	};
    key <AC02>	{ [ 0x1002d59, 0x1002d5a ]	};
    key <AC03>	{ [ 0x1002d37, 0x1002d39, 0x1002d38, 0x1002d3a ]	};
    key <AC04>	{ [ 0x1002d3c ]	};
    key <AC05>	{ [ 0x1002d33, 0x1002d36, 0x1002d34, 0x1002d35 ]	};
    key <AC06>	{ [ 0x1002d40, 0x1002d42, 0x1002d41 ]	};
    key <AC07>	{ [ 0x1002d4a, 0x1002d4c, 0x1002d4b ]	};
    key <AC08>	{ [ 0x1002d3d, 0x1002d3e, 0x1002d3f ]	};
    key <AC09>	{ [ 0x1002d4d ]	};
    key <AC10>	{ [ 0x1002d4e ]	};
    key <AC11>	{ [ percent ]	};
    key <BKSL>	{ [  asterisk,         mu ]	};

    key <AB01>	{ [ 0x1002d61, 0x1002d6f, 0x1002d60 ]	};
    key <AB02>	{ [ 0x1002d45, 0x1002d46 ]	};
    key <AB03>	{ [ 0x1002d5b, 0x1002d5e ]	};
    key <AB04>	{ [ 0x1002d56, 0x1002d57, 0x1002d58 ]	};
    key <AB05>	{ [ 0x1002d31, 0x1002d31, 0x1002d32 ]	};
    key <AB06>	{ [ 0x1002d4f, 0x1002d50, 0x1002d51 ]	};
    key <AB07>	{ [     comma,   question ] };
    key <AB08>	{ [ semicolon,     period ] };
    key <AB09>	{ [     colon,      slash ] };
    key <AB10>	{ [    exclam,    section ] };

    include "level3(ralt_switch)"
};

partial alphanumeric_keys
xkb_symbols "tifinagh-alt-phonetic" {
    include "ma(tifinagh-alt)"

    name[Group1]="Morocco - Tifinagh alternative phonetic";

    key <LatA>	{ [ 0x1002d30 ]	};
    key <LatZ>	{ [ 0x1002d63, 0x1002d65, 0x1002d64 ]	};
    key <LatE>	{ [ 0x1002d3b ]	};
    key <LatR>	{ [ 0x1002d54, 0x1002d55 ]	};
    key <LatT>	{ [ 0x1002d5c, 0x1002d5f, 0x1002d5d ]	};
    key <LatY>	{ [ 0x1002d62 ]	};
    key <LatU>	{ [ 0x1002d53 ]	};
    key <LatI>	{ [ 0x1002d49 ]	};
    key <LatO>	{ [ 0x1002d44 ]	};
    key <LatP>	{ [ 0x1002d43, 0x1002d52 ]	};

    key <LatQ>	{ [ 0x1002d47, 0x1002d48 ]	};
    key <LatS>	{ [ 0x1002d59, 0x1002d5a ]	};
    key <LatD>	{ [ 0x1002d37, 0x1002d39, 0x1002d38, 0x1002d3a ]	};
    key <LatF>	{ [ 0x1002d3c ]	};
    key <LatG>	{ [ 0x1002d33, 0x1002d36, 0x1002d34, 0x1002d35 ]	};
    key <LatH>	{ [ 0x1002d40, 0x1002d42, 0x1002d41 ]	};
    key <LatJ>	{ [ 0x1002d4a, 0x1002d4c, 0x1002d4b ]	};
    key <LatK>	{ [ 0x1002d3d, 0x1002d3e, 0x1002d3f ]	};
    key <LatL>	{ [ 0x1002d4d ]	};
    key <LatM>	{ [ 0x1002d4e ]	};

    key <LatW>	{ [ 0x1002d61, 0x1002d6f, 0x1002d60 ]	};
    key <LatX>	{ [ 0x1002d45, 0x1002d46 ]	};
    key <LatC>	{ [ 0x1002d5b, 0x1002d5e ]	};
    key <LatV>	{ [ 0x1002d56, 0x1002d57, 0x1002d58 ]	};
    key <LatB>	{ [ 0x1002d31, 0x1002d31, 0x1002d32 ]	};
    key <LatN>	{ [ 0x1002d4f, 0x1002d50, 0x1002d51 ]	};

    include "level3(ralt_switch)"
};