summaryrefslogtreecommitdiff
path: root/lib/libusbhid/usbhid.3
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2012-07-16 19:57:18 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2012-07-16 19:57:18 +0000
commitd8744176cbad9fa857ad72442b36642ea5e2bf85 (patch)
treecf6d02d173dc86bb62231415545cb04dc33428fe /lib/libusbhid/usbhid.3
parentc1c071f56546d75090dad47c26f4b82cf1c4db31 (diff)
revert previous, it was hardly tested and is causing too many issues too close to release.
as discussed with and ok mpi@ deraadt@
Diffstat (limited to 'lib/libusbhid/usbhid.3')
-rw-r--r--lib/libusbhid/usbhid.39
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libusbhid/usbhid.3 b/lib/libusbhid/usbhid.3
index e8a812f8abe..09d2ffb4a9c 100644
--- a/lib/libusbhid/usbhid.3
+++ b/lib/libusbhid/usbhid.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: usbhid.3,v 1.12 2012/07/11 13:43:54 yuo Exp $
+.\" $OpenBSD: usbhid.3,v 1.13 2012/07/16 19:57:17 jasper Exp $
.\" $NetBSD: usbhid.3,v 1.5 2002/02/07 07:00:52 ross Exp $
.\"
.\" Copyright (c) 1999, 2001 Lennart Augustsson <augustss@netbsd.org>
@@ -25,13 +25,12 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 11 2012 $
+.Dd $Mdocdate: July 16 2012 $
.Dt USBHID 3
.Os
.Sh NAME
.Nm usbhid ,
.Nm hid_get_report_desc ,
-.Nm hid_get_report_id ,
.Nm hid_use_report_desc ,
.Nm hid_dispose_report_desc ,
.Nm hid_start_parse ,
@@ -52,8 +51,6 @@
.Fd #include \*[Lt]usbhid.h\*[Gt]
.Ft report_desc_t
.Fn hid_get_report_desc "int file"
-.Ft int
-.Fn hid_get_report_id "int file"
.Ft report_desc_t
.Fn hid_use_report_desc "unsigned char *data" "unsigned int size"
.Ft void
@@ -100,8 +97,6 @@ The routines can be divided into four parts: extraction of the descriptor,
parsing of the descriptor, translating to/from symbolic names, and
data manipulation.
.Ss DESCRIPTOR FUNCTIONS
-The report descripor ID can be obtained by calling
-.Fn hid_get_report_id .
A report descriptor can be obtained by calling
.Fn hid_get_report_desc
with a file descriptor obtained by opening a