[PATCH] xkeyboard-config for Genius KKB-2050HS

Samuel Thibault samuel.thibault at ens-lyon.org
Sun Sep 28 07:53:05 PDT 2008


Hello,

Here is a patch to add the support for the internet keys of my Genius
keyboard.

Samuel
-------------- next part --------------
diff --git a/rules/base.lists.part b/rules/base.lists.part
index b08ab24..6191894 100644
--- a/rules/base.lists.part
+++ b/rules/base.lists.part
@@ -38,7 +38,7 @@
               cymotionlinux \
               dell dellm65 inspiron precision_m dellusbmm dtk2000 \
               emachines ennyah_dkb1008 evdev fscaa1667g \
-              genius geniuscomfy geniuscomfy2 geniuskb19e \
+              genius geniuscomfy geniuscomfy2 geniuskb19e geniuskkb2050hs \
               gyration honeywell_euroboard \
               hp2501 hp2505 hp5xx hp500fa hp5181 hp5185 \
               hpi6 hpxe3gc hpxe3gf hpxe4xxx hpxt1000 hpzt11xx \
diff --git a/rules/base.xml.in b/rules/base.xml.in
index 8d0aa92..3e6f1ae 100644
--- a/rules/base.xml.in
+++ b/rules/base.xml.in
@@ -429,6 +429,13 @@
     </model>
     <model>
       <configItem>
+        <name>geniuskkb2050hs</name>
+        <_description>Genius KKB-2050HS</_description>
+        <vendor>Genius</vendor>
+      </configItem>
+    </model>
+    <model>
+      <configItem>
         <name>gyration</name>
         <_description>Gyration</_description>
         <vendor>Gyration</vendor>
diff --git a/symbols/inet b/symbols/inet
index 54ec241..a78fbf9 100644
--- a/symbols/inet
+++ b/symbols/inet
@@ -967,6 +967,18 @@ xkb_symbols "geniuscomfy2" {
     key <I68>   {       [ XF86Stop              ]       };
 };
 
+// Genius KKB-2050HS
+partial alphanumeric_keys
+xkb_symbols "geniuskkb2050hs" {
+    include "inet(media_nav_common)"
+    key <I21>   {      [ XF86Calculator        ]       };
+    key <I32>   {      [ XF86WWW               ]       };
+    key <I5F>   {      [ XF86Sleep             ]       };
+    key <I6C>   {      [ XF86Mail              ]       };
+    key <K67>   {      [ XF86MyComputer        ]       };
+    key <XFER>  {      [ XF86AudioMedia        ]       };
+};
+
 // Gyration
 
 partial alphanumeric_keys


More information about the xorg mailing list