Hi

I've fixed xkb for Logitech Cordless Desktop Optical. There was some
buttons missing in the cvs version of XFree86 and even more strange, some
buttons where wrong. It's of course possible that there exists different
Cordless Desktop Optical, but here are the changes I had to do to fix it.

Should we keep the old one also and add mine as a new entry? As far as I 
know the old entries was buggy but if someone have a keyboard where 
"logicdo" worked, please speak up.

The model number on my keyboard is Y-RJ20.

-- 
/Dennis Björklund
Index: include/XF86keysym.h
===================================================================
RCS file: /cvs/xc/include/XF86keysym.h,v
retrieving revision 1.14
diff -u -r1.14 XF86keysym.h
--- include/XF86keysym.h        2002/12/17 21:35:09     1.14
+++ include/XF86keysym.h        2002/12/28 09:02:24
@@ -158,4 +158,10 @@
 #define XF86XK_ZoomIn          0x1008FF8B
 #define XF86XK_ZoomOut         0x1008FF8C
 #define XF86XK_Away            0x1008FF8D
+#define XF86XK_Messenger       0x1008FF8E
+#define XF86XK_WebCam          0x1008FF8F
+#define XF86XK_MailForward     0x1008FF90
+#define XF86XK_MyDocuments     0x1008FF91
+#define XF86XK_MyPictures      0x1008FF92
+#define XF86XK_MyMusic         0x1008FF93
 
Index: lib/X11/XKeysymDB
===================================================================
RCS file: /cvs/xc/lib/X11/XKeysymDB,v
retrieving revision 3.14
diff -u -r3.14 XKeysymDB
--- lib/X11/XKeysymDB   2002/12/17 21:35:10     3.14
+++ lib/X11/XKeysymDB   2002/12/28 09:02:24
@@ -325,6 +325,12 @@
 XF86ZoomIn             :1008FF8B
 XF86ZoomOut            :1008FF8C
 XF86Away               :1008FF8D
+XF86Messenger          :1008FF8E
+XF86WebCam             :1008FF8F
+XF86MailForward                :1008FF90
+XF86MyDocuments                :1008FF91
+XF86MyPictures         :1008FF92
+XF86MyMusic            :1008FF93
 
 usldead_acute          :100000A8
 usldead_grave          :100000A9
Index: programs/xkbcomp/symbols/inet
===================================================================
RCS file: /cvs/xc/programs/xkbcomp/symbols/inet,v
retrieving revision 1.22
diff -u -r1.22 inet
--- programs/xkbcomp/symbols/inet       2002/12/17 21:45:03     1.22
+++ programs/xkbcomp/symbols/inet       2002/12/28 09:02:26
@@ -889,14 +889,18 @@
 xkb_symbols "logicdo" {
     name[Group1]= "Logitech Cordless Desktop Optical";
 
+    // iNav
     key <I69>  {       [ XF86Go                ]       };
     key <I6A>  {       [ XF86Back              ]       };
     key <I16>  {       [ XF86WheelButton       ]       };
+
+    // Left side
     key <I5F>  {       [ XF86Standby           ]       };
-    key <I13>  {       [ XF86Finance           ]       };
-    key <I14>  {       [ XF86MySites           ]       };
-    key <I15>  {       [ XF86Community         ]       };
-    key <I66>  {       [ XF86Favorites         ]       };
+    key <I6C>  {       [ XF86Mail              ]       };
+    key <I11>  {       [ XF86Messenger         ]       };
+    key <I12>  {       [ XF86WebCam            ]       };
+
+    // Multimedia
     key <I10>  {       [ XF86AudioPrev         ]       };
     key <I19>  {       [ XF86AudioNext         ]       };
     key <I6D>  {       [ XF86AudioMedia        ]       };
@@ -905,11 +909,29 @@
     key <I20>  {       [ XF86AudioMute         ]       };
     key <I22>  {       [ XF86AudioPlay, XF86AudioPause ] };
     key <I24>  {       [ XF86AudioStop         ]       };
-    key <I12>  {       [ XF86iTouch            ]       };
-    key <I6C>  {       [ XF86Mail              ]       };
-    key <I11>  {       [ XF86Shop              ]       };
+
+    // Right side
+    key <I13>  {       [ XF86iTouch            ]       };
     key <I65>  {       [ XF86Search            ]       };
+    key <I14>  {       [ XF86Shop              ]       };
+    key <I66>  {       [ XF86Favorites         ]       };
     key <I32>  {       [ XF86HomePage          ]       };
+
+    // Enhanced F-Buttons
+    key <I3B>  {       [ XF86New               ]       };
+    key <I3C>   {       [ XF86Reply            ]       };
+    key <FK13>  {       [ XF86MailForward      ]       };
+    key <FK14>  {       [ XF86Send             ]       };
+ 
+    key <FK15>  {       [ XF86Undo             ]       };
+    key <FK16>  {       [ XF86Redo             ]       };
+    key <FK17>  {       [ XF86Print            ]       };
+    key <I42>   {       [ XF86Save             ]       };
+
+    key <I43>   {       [ XF86MyComputer       ]       };
+    key <I44>   {       [ XF86MyDocuments      ]       };
+    key <I57>   {       [ XF86MyPictures       ]       };
+    key <I58>   {       [ XF86MyMusic          ]       };
 };
 
 partial alphanumeric_keys

Reply via email to