summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhidev.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uhidev.h')
-rw-r--r--sys/dev/usb/uhidev.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/usb/uhidev.h b/sys/dev/usb/uhidev.h
index ad00e8f8bf7..761d278b962 100644
--- a/sys/dev/usb/uhidev.h
+++ b/sys/dev/usb/uhidev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhidev.h,v 1.22 2015/01/09 12:07:50 mpi Exp $ */
+/* $OpenBSD: uhidev.h,v 1.23 2016/01/08 15:54:14 jcs Exp $ */
/* $NetBSD: uhidev.h,v 1.3 2002/10/08 09:56:17 dan Exp $ */
/*
@@ -37,6 +37,10 @@
#define uhidevcf_reportid cf_loc[UHIDBUSCF_REPORTID]
#define UHIDEV_UNK_REPORTID UHIDBUSCF_REPORTID_DEFAULT
+#define UHID_INPUT_REPORT 0x01
+#define UHID_OUTPUT_REPORT 0x02
+#define UHID_FEATURE_REPORT 0x03
+
struct uhidev_softc {
struct device sc_dev; /* base device */
struct usbd_device *sc_udev;