added exotic ro(ergonomic)
authorSergey V. Udaltsov <svu@gnome.org>
Thu, 3 Mar 2011 20:58:02 +0000 (20:58 +0000)
committerSergey V. Udaltsov <svu@gnome.org>
Thu, 3 Mar 2011 20:58:02 +0000 (20:58 +0000)
https://bugs.freedesktop.org/show_bug.cgi?id=34576

rules/base.extras.xml.in
symbols/ro

index 7089d04..b068589 100644 (file)
     </layout>
     <layout>
       <configItem>
+        <name>ro</name>
+        <_shortDescription>Rou</_shortDescription>
+        <_description>Romania</_description>
+        <languageList><iso639Id>rum</iso639Id></languageList>
+      </configItem>
+      <variantList>
+        <variant>
+          <configItem>
+            <name>ergonomic</name>
+            <_description>Ergonomic Touchtype</_description>
+          </configItem>
+        </variant>
+      </variantList>
+    </layout>
+    <layout>
+      <configItem>
         <name>rs</name>
         <_shortDescription>SRB</_shortDescription>
         <_description>Serbia</_description>
index 1630a21..f37a60d 100644 (file)
@@ -231,3 +231,25 @@ xkb_symbols "crh_dobruca2" {
     key <AC04> { [         f,          F,          iacute,          Iacute ]   };
     key <AC07> { [    ibreve,     Ibreve,               j,               J ]   };
 };
+
+// EXTRAS:
+
+partial alphanumeric_keys
+xkb_symbols "ergonomic" {
+    // This layout is optimized for fast touch-typing in Romanian on a
+    // US keyboard, and works by swapping out symbols infrequently used
+    // in written Romanian (q,w,y,k) in favor of native ones, thus reducing
+    // the need to use modifier keys.
+    // Created by Gabriel Somlo, <somlo@cmu.edu> (C) 2011
+
+    include "ro(basic)"
+
+    name[Group1]="Romania - Ergonomic Touchtype";
+
+    key <AD01> { [ abreve,            Abreve,  q,                       Q ] };
+    key <AD02> { [ 0x1000219,      0x1000218,  w,                       W ] };
+    key <AD06> { [ 0x100021b,      0x100021a,  y,                       Y ] };
+    key <AC01> { [ a,                      A,  acircumflex,   Acircumflex ] };
+    key <AC08> { [ icircumflex,  Icircumflex,  k,                       K ] };
+};
+