And here are the changes to support the extra keys...

--- linux/drivers/usb/input/hid-input.c.orig    2005-04-18 11:58:56.000000000 
+0100
+++ linux/drivers/usb/input/hid-input.c 2005-04-18 13:36:16.000000000 +0100
@@ -270,6 +270,12 @@
                                case 0x227: map_key_clear(KEY_REFRESH);         
break;
                                case 0x22a: map_key_clear(KEY_BOOKMARKS);       
break;
                                case 0x238: map_rel(REL_HWHEEL);                
break;
+                                case 0x233: map_key_clear(KEY_SCROLLUP);       
 break;
+                                case 0x234: map_key_clear(KEY_SCROLLDOWN);     
 break;
+                                case 0x301: map_key_clear(KEY_PROG1);          
 break;
+                                case 0x302: map_key_clear(KEY_PROG2);          
 break;
+                                case 0x303: map_key_clear(KEY_PROG3);          
 break;
+                                case 0x279: map_key_clear(KEY_AGAIN);          
 break;
                                default:    goto unknown;
                        }
                        break;

Signed-off-by: Andy Armstrong <[EMAIL PROTECTED]>


------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to