summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbhid.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2010-05-12 22:43:33 +0000
committerthompsa <thompsa@FreeBSD.org>2010-05-12 22:43:33 +0000
commit6903fb5ec365756d5bf9e830b0dcd21195468a32 (patch)
tree8cb3b13beebf25bfe8a04b4cc58f8a11c6356d3a /sys/dev/usb/usbhid.h
parentf61fd930ea6d4ab1f68a77846ad3ce133636197c (diff)
downloadFreeBSD-src-6903fb5ec365756d5bf9e830b0dcd21195468a32.zip
FreeBSD-src-6903fb5ec365756d5bf9e830b0dcd21195468a32.tar.gz
Enable support for mouse panning wheels.
Submitted by: Henry Hu
Diffstat (limited to 'sys/dev/usb/usbhid.h')
-rw-r--r--sys/dev/usb/usbhid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/usbhid.h b/sys/dev/usb/usbhid.h
index 4c5f313..885a9b0 100644
--- a/sys/dev/usb/usbhid.h
+++ b/sys/dev/usb/usbhid.h
@@ -156,6 +156,9 @@ struct usb_hid_descriptor {
#define HUD_ERASER 0x0045
#define HUD_TABLET_PICK 0x0046
+/* Usages, Consumer */
+#define HUC_AC_PAN 0x0238
+
#define HID_USAGE2(p,u) (((p) << 16) | (u))
#define UHID_INPUT_REPORT 0x01
OpenPOWER on IntegriCloud