summaryrefslogtreecommitdiffstats
path: root/lib/libusbhid/data.c
Commit message (Collapse)AuthorAgeFilesLines
* MFprojects/hid:mav2011-09-281-0/+27
| | | | | | | | | | | | | | Import the rest of HID improvements from the branch: - improve report descriptor parser in libusbhid to handle several kinds of reports same time; - add to the libusbhid API two functions wrapping respective kernel IOCTLs for reading and writing reports; - tune uhid IOCTL interface to allow reading and writing arbitrary report, when multiple supported by the device; - teach usbhidctl to set output and feature reports; - make usbhidaction support all the same item names as bhidctl. Sponsored by: iXsystems, inc.
* Use fixed width integer types for parsing the binary hid data.thompsa2010-05-131-3/+6
| | | | | PR: usb/146367 Submitted by: Hans Petter Selasky
* Support getting signed and unsigned HID data.thompsa2010-05-121-6/+10
| | | | | Submitted by: Alex Deiter Reviewed by: Hans Petter Selaksy
* Merge improvements from kernel HID parser to the userland usbhid(3)kaiw2010-03-271-8/+23
| | | | | | | | | | | | | | | | | | | | parser. This merge does not change any API and should not break any native or thirdparty applications. Changes include: * Merge multiple report ID support and other improvements from kernel HID parser. * Ignore rid argument in hid_start_parser, parse all the report items since we now support multiple report ID. * Skip report ID byte in hid_get_data() and set report ID byte in hid_set_data(), if report ID is non-zero. * Reimplement hid_get_report_id: instead get report id from uhid device (which is always 0), try parsing the report descriptor and return the first report ID encountered. Reviewed by: hps Silent on: -usb mailing list
* Sync with NetBSD.mdodd2003-04-091-1/+1
| | | | | | | | | | | | | | - Bump shared library version on libusbhid. - Retire libusbhid.h; it is called usbhid.h now. - hid_start_parse() takes a third argument. - hid_locate() takes a fifth argument. - hid_report_size() order of arguments changes. - Other changes, including formatting and whitespace. Bump __FreeBSD_version. This change will break all third party applications that rely on previous FreeBSD specific behavior.
* Finish the libusb.h -> libusbhid.h migration.joe2002-03-281-1/+1
| | | | MFC after: 7 days
* Add __FBSDID()s to libusbdillon2001-09-301-2/+3
|
* Remove DIAGASSERTn_hibma2000-07-071-6/+0
|
* The USB library from NetBSD by Lennart Augustsson <lennart@augustsson.net>.n_hibma2000-06-111-0/+99
OpenPOWER on IntegriCloud