summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbhid.h
diff options
context:
space:
mode:
authorJoshua Stein <jcs@cvs.openbsd.org>2016-01-09 02:01:07 +0000
committerJoshua Stein <jcs@cvs.openbsd.org>2016-01-09 02:01:07 +0000
commit8c30db8d07153a77c6206fd77dc51f5b15728f03 (patch)
tree615cd0acb4fff7a784434d72f4a15b63f24e1e4b /sys/dev/usb/usbhid.h
parentfe7f2e9e7412d1c4b442a922219479ddf710e09a (diff)
move UHID_* definitions back to usbhid.h where they were before the
HID separation
Diffstat (limited to 'sys/dev/usb/usbhid.h')
-rw-r--r--sys/dev/usb/usbhid.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/usb/usbhid.h b/sys/dev/usb/usbhid.h
index f6a17d798d2..fe7d46285fd 100644
--- a/sys/dev/usb/usbhid.h
+++ b/sys/dev/usb/usbhid.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbhid.h,v 1.19 2016/01/08 15:54:14 jcs Exp $ */
+/* $OpenBSD: usbhid.h,v 1.20 2016/01/09 02:01:06 jcs 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 $ */
@@ -61,4 +61,8 @@ struct usb_hid_descriptor {
} __packed;
#define USB_HID_DESCRIPTOR_SIZE(n) (9+(n)*3)
+#define UHID_INPUT_REPORT 0x01
+#define UHID_OUTPUT_REPORT 0x02
+#define UHID_FEATURE_REPORT 0x03
+
#endif /* _USBHID_H_ */