summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/usbhidctl/usbhid.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/usbhidctl/usbhid.c b/usr.bin/usbhidctl/usbhid.c
index 034b806c19a..2fa09c9d4da 100644
--- a/usr.bin/usbhidctl/usbhid.c
+++ b/usr.bin/usbhidctl/usbhid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbhid.c,v 1.12 2015/12/22 19:46:16 mmcc Exp $ */
+/* $OpenBSD: usbhid.c,v 1.13 2016/01/08 16:59:33 jcs Exp $ */
/* $NetBSD: usbhid.c,v 1.22 2002/02/20 20:30:42 christos Exp $ */
/*
@@ -46,6 +46,10 @@
#include <unistd.h>
#include <usbhid.h>
+#define UHID_INPUT_REPORT 0x01
+#define UHID_OUTPUT_REPORT 0x02
+#define UHID_FEATURE_REPORT 0x03
+
/*
* Zero if not in a verbose mode. Greater levels of verbosity
* are indicated by values larger than one.