patch-2.3.47 linux/drivers/usb/hid.h

Next file: linux/drivers/usb/plusb.c
Previous file: linux/drivers/usb/hid.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.46/linux/drivers/usb/hid.h linux/drivers/usb/hid.h
@@ -158,7 +158,7 @@
 #define HID_UP_KEYBOARD 	0x00070000
 #define HID_UP_LED 		0x00080000
 #define HID_UP_BUTTON 		0x00090000
-#define HID_UP_HOTKEY		0x000c0000
+#define HID_UP_CONSUMER		0x000c0000
 #define HID_UP_DIGITIZER 	0x000d0000
 #define HID_UP_PID 		0x000f0000
 
@@ -201,7 +201,7 @@
  * This is the local enviroment. It is resistent up the the next main-item.
  */
 
-#define MAX_USAGES 256
+#define MAX_USAGES 512
 
 struct hid_local {
 	unsigned usage[MAX_USAGES]; /* usage array */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)