diff options
author | jcs <jcs@openbsd.org> | 2016-01-08 16:59:33 +0000 |
---|---|---|
committer | jcs <jcs@openbsd.org> | 2016-01-08 16:59:33 +0000 |
commit | 74a4d65524590e067f2090b45e4bd6271d2af93f (patch) | |
tree | deb4a2e0a76269fd7056002b0ede12fc16f635e0 /usr.bin/usbhidctl | |
parent | pull in dev/hid/hid.h for moved HIO_* vars (diff) | |
download | wireguard-openbsd-74a4d65524590e067f2090b45e4bd6271d2af93f.tar.xz wireguard-openbsd-74a4d65524590e067f2090b45e4bd6271d2af93f.zip |
redefine 3 UHID_* vars that moved
Diffstat (limited to 'usr.bin/usbhidctl')
-rw-r--r-- | usr.bin/usbhidctl/usbhid.c | 6 |
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. |