summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb.h
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2002-05-09 15:06:30 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2002-05-09 15:06:30 +0000
commit23dcee9d39acf0acbda3ed2e33b4038f9d5e8132 (patch)
treec27e422c42192be2a5812b0859e70bb3754bd8b5 /sys/dev/usb/usb.h
parent02a2153e2ea77635df4c6b97678b0749f66bee42 (diff)
Sync hid stuff including ukbd, ums, and uhid with NetBSD
This adds a uhidev device which can be thought of as something like a uhid bus. It allows more than one ukbd, ums, or uhid to attach to the same device instance. This functionality is found on many of the newer keyboards that have extra buttons. (The extra buttons show up as uhid device(s)). Tested by me on i386, dale on macppc, and jason on sparc64
Diffstat (limited to 'sys/dev/usb/usb.h')
-rw-r--r--sys/dev/usb/usb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h
index 89121f65dec..8defac116a4 100644
--- a/sys/dev/usb/usb.h
+++ b/sys/dev/usb/usb.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: usb.h,v 1.17 2002/05/07 18:29:18 nate Exp $ */
+/* $OpenBSD: usb.h,v 1.18 2002/05/09 15:06:29 nate Exp $ */
/* $NetBSD: usb.h,v 1.52 2001/07/23 15:17:50 nathanw Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb.h,v 1.14 1999/11/17 22:33:46 n_hibma Exp $ */
@@ -588,6 +588,7 @@ struct usb_event {
#define USB_SET_IMMED _IOW ('U', 22, int)
#define USB_GET_REPORT _IOWR('U', 23, struct usb_ctl_report)
#define USB_SET_REPORT _IOW ('U', 24, struct usb_ctl_report)
+#define USB_GET_REPORT_ID _IOR ('U', 25, int)
/* Generic USB device */
#define USB_GET_CONFIG _IOR ('U', 100, int)