summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbhid.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-05-08 13:57:44 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-05-08 13:57:44 +0000
commitac949b5349a213e8d63562f5b3d3a95ad3b97f65 (patch)
tree836853190baf8edf6db8804369427bede2290556 /sys/dev/usb/usbhid.h
parentcc17ce1e5648f199a7199e1b5620dd1ad7957013 (diff)
Add support for Microsoft Wireless Intellimouse, from FreeBSD. Not only does
this device bends the uhid specs backwards, it is also completely unusable for left-handed people due to its shape. Tested on actual hardware thanks to a donation from Maxim Belooussov.
Diffstat (limited to 'sys/dev/usb/usbhid.h')
-rw-r--r--sys/dev/usb/usbhid.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/usbhid.h b/sys/dev/usb/usbhid.h
index dad6a50b29b..386dfca10a9 100644
--- a/sys/dev/usb/usbhid.h
+++ b/sys/dev/usb/usbhid.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbhid.h,v 1.10 2007/09/01 17:06:26 xsa Exp $ */
+/* $OpenBSD: usbhid.h,v 1.11 2008/05/08 13:57:43 miod Exp $ */
/* $NetBSD: usbhid.h,v 1.11 2001/12/28 00:20:24 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbhid.h,v 1.7 1999/11/17 22:33:51 n_hibma Exp $ */
@@ -124,6 +124,7 @@ typedef struct usb_hid_descriptor {
#define HUG_VBRY 0x0044
#define HUG_VBRZ 0x0045
#define HUG_VNO 0x0046
+#define HUG_TWHEEL 0x0048
#define HUG_SYSTEM_CONTROL 0x0080
#define HUG_SYSTEM_POWER_DOWN 0x0081
#define HUG_SYSTEM_SLEEP 0x0082