German layout with Hungarian letters added
authorKristof Szabo <kris@x.(none)>
Sat, 11 Jun 2011 21:21:50 +0000 (23:21 +0200)
committerSergey V. Udaltsov <svu@gnome.org>
Sun, 12 Jun 2011 20:00:28 +0000 (21:00 +0100)
https://bugs.freedesktop.org/show_bug.cgi?id=38192

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

index 1196365..4f8e380 100644 (file)
             </languageList>
           </configItem>
         </variant>
+        <variant>
+          <configItem>
+            <name>hu</name>
+            <_description>German (with Hungarian letters and no dead keys)</_description>
+            <languageList>
+              <iso639Id>ger</iso639Id>
+              <iso639Id>hun</iso639Id>
+            </languageList>
+          </configItem>
+        </variant>
       </variantList>
     </layout>
     <layout>
index 7e05298..df1eaa0 100644 (file)
@@ -580,6 +580,8 @@ xkb_symbols "htcdream" {
         include "level3(alt_switch)"
 };
 
+// EXTRAS:
+
 partial alphanumeric_keys
 xkb_symbols "us" {
     include "us"
@@ -599,3 +601,28 @@ xkb_symbols "us" {
 
     include "level3(ralt_switch)"
 };
+
+partial alphanumeric_keys
+xkb_symbols "hu" {
+
+    // modify the basic German layout to not have any dead keys and add Hungarian letters
+
+    include "de(basic)"
+    name[Group1]="German (with Hungarian letters and no dead keys)";
+
+    key <AB01> { [         y,          Y, guillemotleft,        less ] };
+    key <AC10> { [odiaeresis, Odiaeresis,        eacute,      Eacute ] };
+    key <AC11> { [adiaeresis, Adiaeresis,        aacute,       Aacute] };
+    key <AD03> { [         e,          E,      EuroSign,    EuroSign ] };
+    key <AD06> { [         z,          Z,     leftarrow,         yen ] };
+    key <AD07> { [         u,          U,        uacute,      Uacute ] };
+    key <AD08> { [         i,          I,        iacute,      Iacute ] };
+    key <AD09> { [         o,          O,  odoubleacute,Odoubleacute ] };
+    key <AD11> { [udiaeresis, Udiaeresis,  udoubleacute,Udoubleacute ] };
+    key <AD12> { [      plus,   asterisk,    asciitilde,      macron ] };
+    key <AE12> { [     acute,      grave,        oacute,      Oacute ] };
+    key <BKSL> { [numbersign, apostrophe,         grave,       grave ] };
+    key <TLDE> { [asciicircum,    degree,       notsign,     notsign ] };
+    
+    
+};