summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJoshua Stein <jcs@cvs.openbsd.org>2016-01-08 16:59:34 +0000
committerJoshua Stein <jcs@cvs.openbsd.org>2016-01-08 16:59:34 +0000
commit16f190bf0d57cf31d22e75534a30902cfb5a9ee5 (patch)
tree108bd1cc97bb3cc08e3280c1ee2b7ca9bf7ef395 /usr.bin
parentb18c058c09589a2a610a70c071721de410eaca26 (diff)
redefine 3 UHID_* vars that moved
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.