Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man4 Document USB_SET_REPORT.
details: https://anonhg.NetBSD.org/src/rev/a74924f576fb
branches: trunk
changeset: 483879:a74924f576fb
user: augustss <augustss%NetBSD.org@localhost>
date: Mon Mar 20 01:35:30 2000 +0000
description:
Document USB_SET_REPORT.
diffstat:
share/man/man4/uhid.4 | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 08e22b3b1b5b -r a74924f576fb share/man/man4/uhid.4
--- a/share/man/man4/uhid.4 Mon Mar 20 01:34:22 2000 +0000
+++ b/share/man/man4/uhid.4 Mon Mar 20 01:35:30 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: uhid.4,v 1.7 1999/08/23 12:32:19 augustss Exp $
+.\" $NetBSD: uhid.4,v 1.8 2000/03/20 01:35:30 augustss Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -83,13 +83,21 @@
.Dv UHID_OUTPUT_REPORT ,
or
.Dv UHID_FEATURE_REPORT .
-This call may fail if the device does not support
-this feature.
+This call may fail if the device does not support this feature.
.Bd -literal
struct usb_ctl_report {
int report;
- u_char data[1024]; /* filled data size will vary */
+ u_char data[1024]; /* used data size will vary */
};
+.It Dv USB_SET_REPORT (struct usb_ctl_report)
+Set a report in the device. The
+.Dv report
+field indicates which report is to be set. It should be
+.Dv UHID_INPUT_REPORT ,
+.Dv UHID_OUTPUT_REPORT ,
+or
+.Dv UHID_FEATURE_REPORT .
+This call may fail if the device does not support this feature.
.Ed
.El
.Pp
Home |
Main Index |
Thread Index |
Old Index