support Uyghur Arabic keyboard layout
authorSergey V. Udaltsov <svu@gnome.org>
Sun, 26 Dec 2010 23:54:26 +0000 (23:54 +0000)
committerSergey V. Udaltsov <svu@gnome.org>
Sun, 26 Dec 2010 23:54:26 +0000 (23:54 +0000)
https://bugs.freedesktop.org/show_bug.cgi?id=32576

rules/base.xml.in
symbols/cn

index 8d47271..0eeb7b5 100644 (file)
             <languageList><iso639Id>tib</iso639Id></languageList>
           </configItem>
         </variant>
+        <variant>
+          <configItem>
+            <name>uig</name>
+            <description>Uyghur</description>
+            <languageList><iso639Id>uig</iso639Id></languageList>
+          </configItem>
+        </variant>
       </variantList>
     </layout>
     <layout>
index c3dfc94..9a5c84c 100644 (file)
@@ -2,7 +2,7 @@
 //
 
 //
-// Default Chinise is the same as American
+// Default Chinese is the same as American
 //
 partial default alphanumeric_keys 
 xkb_symbols "basic" {
@@ -152,3 +152,69 @@ xkb_symbols "tib_asciinum" {
     key <AE10> { [ 0, 0x1000f20, 0x1000f08, 0x1000f12 ] }; # 0 ༠ ༈ ༒
 };
 
+// Uyghur Standard Keyboard map for XKB/X.org
+//
+// xkb version originally created by
+// Abdusalam Abdurahman <Abdusalam.Abdurahman@gmail.com>
+// slightly corrected according to feedback and submitted by
+// Ekrem Tomur <ekrem.tomur@gmail.com>
+
+partial alphanumeric_keys 
+xkb_symbols "uig" {
+
+    name[Group1]= "China - Uyghur";
+
+    key <TLDE> { [ grave,            asciitilde           ] };
+
+    key <AE01> { [ 1,                exclam               ] };  // 1 !
+    key <AE02> { [ 2,                at                   ] };  // 2 @
+    key <AE03> { [ 3,                numbersign           ] };  // 3 # 
+    key <AE04> { [ 4,                dollar               ] };  // 4 $
+    key <AE05> { [ 5,                percent              ] };  // 5 %
+    key <AE06> { [ 6,                asciicircum          ] };  // 6 ^
+    key <AE07> { [ 7,                ampersand            ] };  // 7 &
+    key <AE08> { [ 8,                asterisk             ] };  // 8 *
+    key <AE09> { [ 9,                parenright           ] };  // 9 )
+    key <AE10> { [ 0,                parenleft            ] };  // 0 (
+    key <AE11> { [ minus,            0x1002014            ] };  // - —
+    key <AE12> { [ equal,            plus                 ] };  // = +
+
+    key <AD01> { [ 0x1000686,        VoidSymbol           ] };  // چ
+    key <AD02> { [ 0x10006cb,        VoidSymbol           ] };  // ۋ
+    key <AD03> { [ 0x10006d0,        VoidSymbol           ] };  // ې
+    key <AD04> { [ 0x1000631,        VoidSymbol           ] };  // ر
+    key <AD05> { [ 0x100062a,        VoidSymbol           ] };  // ت
+    key <AD06> { [ 0x100064a,        VoidSymbol           ] };  // ي
+    key <AD07> { [ 0x10006c7,        VoidSymbol           ] };  // ۇ
+    key <AD08> { [ 0x10006ad,        VoidSymbol           ] };  // ڭ
+    key <AD09> { [ 0x1000648,        VoidSymbol           ] };  // و
+    key <AD10> { [ 0x100067e,        VoidSymbol           ] };  // پ
+    key <AD11> { [ bracketright,     guillemotright       ] };  // ] »
+    key <AD12> { [ bracketleft,      guillemotleft        ] };  // [ «
+
+    key <AC01> { [ 0x10006be,        VoidSymbol           ] };  // ھ
+    key <AC02> { [ 0x1000633,        VoidSymbol           ] };  // س
+    key <AC03> { [ 0x100062f,        0x1000698            ] };  // د ژ
+    key <AC04> { [ 0x1000627,        0x1000641            ] };  // ا ف
+    key <AC05> { [ 0x10006d5,        0x10006af            ] };  // ە گ
+    key <AC06> { [ 0x1000649,        0x100062e            ] };  // ى خ
+    key <AC07> { [ 0x1000642,        0x100062c            ] };  // ق ج
+    key <AC08> { [ 0x1000643,        0x10006c6            ] };  // ك ۆ
+    key <AC09> { [ 0x1000644,        VoidSymbol           ] };  // ل
+    key <AC10> { [ Arabic_semicolon, colon                ] };  // ؛ :
+    key <AC11> { [ apostrophe,      quotedbl             ] };  // ' "
+
+    key <AB01> { [ 0x1000632,        VoidSymbol           ] };  // ز
+    key <AB02> { [ 0x1000634,        VoidSymbol           ] };  // ش
+    key <AB03> { [ 0x100063a,        VoidSymbol           ] };  // غ
+    key <AB04> { [ 0x10006c8,        VoidSymbol           ] };  // ۈ
+    key <AB05> { [ 0x1000628,        VoidSymbol           ] };  // ب
+    key <AB06> { [ 0x1000646,        VoidSymbol           ] };  // ن
+    key <AB07> { [ 0x1000645,        VoidSymbol           ] };  // م
+    key <AB08> { [ Arabic_comma,     0x100203a            ] };  // ، ›
+    key <AB09> { [ period,           0x1002039            ] };  // . ‹
+    key <AB10> { [ 0x1000626,        Arabic_question_mark ] };  // ئ ؟
+
+    key <BKSL> { [ backslash,        bar                  ] };  // \ |
+};
+