-.\" $OpenBSD: usbhid.3,v 1.16 2014/05/12 17:03:28 mpi Exp $
+.\" $OpenBSD: usbhid.3,v 1.17 2014/05/13 14:05:02 jmc Exp $
.\" $NetBSD: usbhid.3,v 1.5 2002/02/07 07:00:52 ross Exp $
.\"
.\" Copyright (c) 1999, 2001 Lennart Augustsson <augustss@netbsd.org>
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 12 2014 $
+.Dd $Mdocdate: May 13 2014 $
.Dt USBHID 3
.Os
.Sh NAME
.Nm hid_set_data
.Nd USB HID access routines
.Sh SYNOPSIS
-.Fd #include \*[Lt]usbhid.h\*[Gt]
+.In usbhid.h
.Ft report_desc_t
.Fn hid_get_report_desc "int file"
.Ft report_desc_t
function should be called with a report descriptor and a set that
describes which items that are interesting.
The set is obtained by or-ing together values
-.Fa "(1 \*[Lt]\*[Lt] k)"
+.Fa (1 << k)
where
.Fa k
is an item of type
.Fa hid_kind_t .
-The desired report ID, or
-.Dv -1
+The desired report ID, or \-1
to obtain items of all report IDs,
is given by
.Fa id .
The default HID usage table.
.\" .Sh EXAMPLES
.Sh SEE ALSO
-The
-.Tn USB
-specifications can be found at:
+The USB specifications can be found at:
.Lk http://www.usb.org/developers/docs/
.Pp
.Xr uhid 4 ,