// Keyboard layouts for Morocco. // Arabic AZERTY with modern Latin digits default partial alphanumeric_keys xkb_symbols "arabic" { include "ara(azerty)" name[Group1]="Arabic (Morocco)"; }; // French AZERTY keyboard used when typing French partial alphanumeric_keys xkb_symbols "french" { include "fr(basic)" name[Group1]="French (Morocco)"; }; // 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]="Berber (Morocco, Tifinagh)"; key { [ twosuperior, NoSymbol ] }; key { [ ampersand, 1 ] }; key { [ NoSymbol, 2, asciitilde ] }; key { [ quotedbl, 3, numbersign ] }; key { [apostrophe, 4, braceleft ] }; key { [ parenleft, 5, bracketleft ] }; key { [ minus, 6, bar ] }; key { [ NoSymbol , 7 ] }; key { [underscore, 8, backslash ] }; key { [NoSymbol, 9, asciicircum ] }; key { [ NoSymbol , 0, at ] }; key { [parenright, degree, bracketright ] }; key { [ equal, plus, braceright ] }; key { [ 0x1002d30 ] }; key { [ 0x1002d63, 0x1002d65 ] }; key { [ 0x1002d3b, NoSymbol,0x10020ac ] }; key { [ 0x1002d54, 0x1002d55 ] }; key { [ 0x1002d5c, 0x1002d5f ] }; key { [ 0x1002d62 ] }; key { [ 0x1002d53 ] }; key { [ 0x1002d49 ] }; key { [ 0x1002d44 ] }; key { [ 0x1002d43 ] }; key { [ 0x1002d6f ] }; key { [ dollar, sterling, currency ] }; key { [ 0x1002d47 ] }; key { [ 0x1002d59, 0x1002d5a ] }; key { [ 0x1002d37, 0x1002d39 ] }; key { [ 0x1002d3c ] }; key { [ 0x1002d33, 0x1002d33] }; key { [ 0x1002d40 ] }; key { [ 0x1002d4a ] }; key { [ 0x1002d3d, 0x1002d3d ] }; key { [ 0x1002d4d ] }; key { [ 0x1002d4e ] }; key { [ NoSymbol , percent ] }; key { [ asterisk, mu ] }; key { [ 0x1002d61 ] }; key { [ 0x1002d45 ] }; key { [ 0x1002d5b ] }; key { [ 0x1002d56 ] }; key { [ 0x1002d31 ] }; key { [ 0x1002d4f ] }; key { [ comma, question ] }; key { [ semicolon, period ] }; key { [ colon, slash ] }; key { [ exclam, section ] }; include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "tifinagh-phonetic" { include "ma(tifinagh)" name[Group1]="Berber (Morocco, Tifinagh phonetic)"; key {[ U2d30 ]}; key {[ U2d63, U2d65 ]}; key {[ U2d3b, any, U20ac ]}; key {[ U2d54, U2d55 ]}; key {[ U2d5c, U2d5f ]}; key {[ U2d62 ]}; key {[ U2d53 ]}; key {[ U2d49 ]}; key {[ U2d44 ]}; key {[ U2d43 ]}; key {[ U2d47 ]}; key {[ U2d59, U2d5a ]}; key {[ U2d37, U2d39 ]}; key {[ U2d3c ]}; key {[ U2d33 ]}; key {[ U2d40 ]}; key {[ U2d4a ]}; key {[ U2d3d ]}; key {[ U2d4d ]}; key {[ U2d4e ]}; key {[ U2d61, U2d6f ]}; key {[ U2d45 ]}; key {[ U2d5b ]}; key {[ U2d56 ]}; key {[ U2d31 ]}; key {[ U2d4f ]}; 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]="Berber (Morocco, Tifinagh extended)"; key { [ twosuperior,0x100200C ] }; key { [ ampersand, 1 ] }; key { [0x1002d52, 2, asciitilde ] }; key { [ quotedbl, 3, numbersign ] }; key { [apostrophe, 4, braceleft ] }; key { [ parenleft, 5, bracketleft ] }; key { [ minus, 6, bar ] }; key { [ 0x1002d64 , 7 ] }; key { [underscore, 8, backslash ] }; key { [ 0x1002014, 9, asciicircum ] }; key { [ 0x100200d, 0, at ] }; key { [parenright, degree, bracketright ] }; key { [ equal, plus, braceright ] }; key { [ 0x1002d30, 0x1002d36 ] }; key { [ 0x1002d63, 0x1002d65 ] }; key { [ 0x1002d3b, 0x1002d57, 0x10020ac ] }; key { [ 0x1002d54, 0x1002d55 ] }; key { [ 0x1002d5c, 0x1002d5f ] }; key { [ 0x1002d62, 0x1002d42 ] }; key { [ 0x1002d53, 0x1002d4c ] }; key { [ 0x1002d49, 0x1002d58 ] }; key { [ 0x1002d44, 0x1002d5d ] }; key { [ 0x1002d43, 0x1002d5e ] }; key { [ 0x1002d6f, 0x1002d60 ] }; key { [ dollar, sterling, currency ] }; key { [ 0x1002d47, 0x1002d48 ] }; key { [ 0x1002d59, 0x1002d5a ] }; key { [ 0x1002d37, 0x1002d39 ] }; key { [ 0x1002d3c, 0x1002d35 ] }; key { [ 0x1002d33, 0x1002d33 ] }; key { [ 0x1002d40, 0x1002d41 ] }; key { [ 0x1002d4a, 0x1002d4b ] }; key { [ 0x1002d3d, 0x1002d3d ] }; key { [ 0x1002d4d, 0x1002d38 ] }; key { [ 0x1002d4e, 0x1002d3a ] }; key { [ 0x1002d51, percent ] }; key { [ asterisk, mu ] }; key { [ 0x1002d61, 0x1002d3e ] }; key { [ 0x1002d45, 0x1002d46 ] }; key { [ 0x1002d5b, 0x1002d3f ] }; key { [ 0x1002d56, 0x1002d34 ] }; key { [ 0x1002d31, 0x1002d32 ] }; key { [ 0x1002d4f, 0x1002d50 ] }; key { [ comma, question ] }; key { [ semicolon, period ] }; key { [ colon, slash ] }; key { [ exclam, section ] }; include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "tifinagh-extended-phonetic" { include "ma(tifinagh-extended)" name[Group1]="Berber (Morocco, Tifinagh extended phonetic)"; key {[ U2d30 ]}; key {[ U2d63, U2d65 ]}; key {[ U2d3b, any, U20ac ]}; key {[ U2d54, U2d55 ]}; key {[ U2d5c, U2d5f ]}; key {[ U2d62 ]}; key {[ U2d53 ]}; key {[ U2d49 ]}; key {[ U2d44 ]}; key {[ U2d43 ]}; key {[ U2d47 ]}; key {[ U2d59, U2d5a ]}; key {[ U2d37, U2d39 ]}; key {[ U2d3c ]}; key {[ U2d33 ]}; key {[ U2d40 ]}; key {[ U2d4a ]}; key {[ U2d3d ]}; key {[ U2d4d ]}; key {[ U2d4e ]}; key {[ U2d61 ]}; key {[ U2d45 ]}; key {[ U2d5b ]}; key {[ U2d56 ]}; key {[ U2d31 ]}; key {[ U2d4f ]}; 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]="Berber (Morocco, Tifinagh alt.)"; key { [ twosuperior, asciitilde ] }; key { [ ampersand, 1 ] }; key { [asciitilde, 2, asciitilde ] }; key { [ quotedbl, 3, numbersign ] }; key { [apostrophe, 4, braceleft ] }; key { [ parenleft, 5, bracketleft ] }; key { [ minus, 6, bar ] }; key { [ grave, 7, grave ] }; key { [underscore, 8, backslash ] }; key { [asciicircum, 9, asciicircum ] }; key { [ at, 0, at ] }; key { [parenright, degree, bracketright ] }; key { [ equal, plus, braceright ] }; key { [ 0x1002d30 ] }; key { [ 0x1002d63, 0x1002d65, 0x1002d64 ] }; key { [ 0x1002d3b ] }; key { [ 0x1002d54, 0x1002d55 ] }; key { [ 0x1002d5c, 0x1002d5f, 0x1002d5d ] }; key { [ 0x1002d62 ] }; key { [ 0x1002d53 ] }; key { [ 0x1002d49 ] }; key { [ 0x1002d44 ] }; key { [ 0x1002d43, 0x1002d52 ] }; key { [ dead_circumflex ] }; key { [ dollar, sterling ] }; key { [ 0x1002d47, 0x1002d48 ] }; key { [ 0x1002d59, 0x1002d5a ] }; key { [ 0x1002d37, 0x1002d39, 0x1002d38, 0x1002d3a ] }; key { [ 0x1002d3c ] }; key { [ 0x1002d33, 0x1002d36, 0x1002d34, 0x1002d35 ] }; key { [ 0x1002d40, 0x1002d42, 0x1002d41 ] }; key { [ 0x1002d4a, 0x1002d4c, 0x1002d4b ] }; key { [ 0x1002d3d, 0x1002d3e, 0x1002d3f ] }; key { [ 0x1002d4d ] }; key { [ 0x1002d4e ] }; key { [ percent ] }; key { [ asterisk, mu ] }; key { [ 0x1002d61, 0x1002d6f, 0x1002d60 ] }; key { [ 0x1002d45, 0x1002d46 ] }; key { [ 0x1002d5b, 0x1002d5e ] }; key { [ 0x1002d56, 0x1002d57, 0x1002d58 ] }; key { [ 0x1002d31, 0x1002d31, 0x1002d32 ] }; key { [ 0x1002d4f, 0x1002d50, 0x1002d51 ] }; key { [ comma, question ] }; key { [ semicolon, period ] }; key { [ colon, slash ] }; key { [ exclam, section ] }; include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "tifinagh-alt-phonetic" { include "ma(tifinagh-alt)" name[Group1]="Berber (Morocco, Tifinagh phonetic, alt.)"; key {[ U2d30 ]}; key {[ U2d63, U2d65, U2d64 ]}; key {[ U2d3b ]}; key {[ U2d54, U2d55 ]}; key {[ U2d5c, U2d5f, U2d5d ]}; key {[ U2d62 ]}; key {[ U2d53 ]}; key {[ U2d49 ]}; key {[ U2d44 ]}; key {[ U2d43, U2d52 ]}; key {[ U2d47, U2d48 ]}; key {[ U2d59, U2d5a ]}; key {[ U2d37, U2d39, U2d38, U2d3a ]}; key {[ U2d3c ]}; key {[ U2d33, U2d36, U2d34, U2d35 ]}; key {[ U2d40, U2d42, U2d41 ]}; key {[ U2d4a, U2d4c, U2d4b ]}; key {[ U2d3d, U2d3e, U2d3f ]}; key {[ U2d4d ]}; key {[ U2d4e ]}; key {[ U2d61, U2d6f, U2d60 ]}; key {[ U2d45, U2d46 ]}; key {[ U2d5b, U2d5e ]}; key {[ U2d56, U2d57, U2d58 ]}; key {[ U2d31, U2d31, U2d32 ]}; key {[ U2d4f, U2d50, U2d51 ]}; include "level3(ralt_switch)" }; // Latin Tarifit keyboard. Used by the riffian community // Tarifit characters are accessed using ALTGR partial alphanumeric_keys xkb_symbols "rif" { // Tarifit keyboard (QWERTY varient) // By Ilyahoo Proshel 2021 // Only "ʷ ɛ ṭ ḍ γ ḥ ẓ ṣ" are supported by Rif Community. include "us" name[Group1]= "Tarifit"; key {[ w, W, U02B7 ]}; // ʷ key {[ e, E, U025B, U0190 ]}; // e E ɛ Ɛ key {[ t, T, U1E6D, U1E6C ]}; // t T ṭ Ṭ key {[ s, S, U1E63, U1E62 ]}; // s S ṣ Ṣ key {[ d, D, U1E0D, U1E0C ]}; // d D ḍ Ḍ key {[ g, G, U0263, U0194 ]}; // g G ɣ Ɣ key {[ h, H, U1E25, U1E24 ]}; // h H ḥ Ḥ key {[ z, Z, U1E93, U1E92 ]}; // z Z ẓ Ẓ include "level3(ralt_switch)" };