summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbhid.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/usbhid.h')
-rw-r--r--sys/dev/usb/usbhid.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/usb/usbhid.h b/sys/dev/usb/usbhid.h
index 1ce0cd31cbf..dad6a50b29b 100644
--- a/sys/dev/usb/usbhid.h
+++ b/sys/dev/usb/usbhid.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbhid.h,v 1.9 2007/06/09 11:06:53 mbalmer Exp $ */
+/* $OpenBSD: usbhid.h,v 1.10 2007/09/01 17:06:26 xsa 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 $ */
@@ -172,6 +172,9 @@ typedef struct usb_hid_descriptor {
#define HUD_LED_COMPOSE 0x0004
#define HUD_LED_KANA 0x0005
+/* Usages, Consumer */
+#define HUC_AC_PAN 0x0238
+
#define HID_USAGE2(p, u) (((p) << 16) | u)
#define HID_GET_USAGE(u) ((u) & 0xffff)
#define HID_GET_USAGE_PAGE(u) (((u) >> 16) & 0xffff)