summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb.h
diff options
context:
space:
mode:
authornate <nate@openbsd.org>2002-05-09 15:06:29 +0000
committernate <nate@openbsd.org>2002-05-09 15:06:29 +0000
commita66cb31e58a16ed957a52ce1b92aafc08fc4900d (patch)
tree1ad385544a77c9a6186a9b11532a5b9a6db8a103 /sys/dev/usb/usb.h
parentadd support for SoundForte Theatre X-treme 5.1 SF256-PCS; from jumbo@ (diff)
downloadwireguard-openbsd-a66cb31e58a16ed957a52ce1b92aafc08fc4900d.tar.xz
wireguard-openbsd-a66cb31e58a16ed957a52ce1b92aafc08fc4900d.zip
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)