summaryrefslogtreecommitdiffstats
path: root/lib/libusbhid/usbhid.h
Commit message (Collapse)AuthorAgeFilesLines
* Add __BEGIN_DECLS / __END_DECLS so this can be used in C++ code.des2004-06-031-0/+4
| | | | MFC after: 1 week
* Do not cast dval.emax2004-02-111-1/+1
| | | | | | Make global _usage_page unsigned. Reviewed by: imp (mentor)
* Sync with NetBSD.mdodd2003-04-091-3/+3
| | | | | | | | | | | | | | - 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.
* MF NetBSD:mdodd2003-04-071-3/+7
| | | | | | | | | | - Reduce diffs with NetBSD. - Formatting and explicit values for enum declaration. - Order of prototypes. - zero report_size in hid_clear_local() - errx() needs no newline - Don't initialie variable in declaration in hid_parse_usage_in_page(). - Use fmtcheck() in hid_usage_in_page().
* Remove __P() usage.obrien2002-03-211-15/+15
|
* Added used include of <sys/cdefs.h>.bde2001-02-061-0/+4
| | | | Declare all the interfaces documented in usb.3 (2 were missing).
* Sync with NetBSD:n_hibma2000-10-161-2/+3
| | | | | | | | | | K&R -> ANSI Bugfix: 'Keep the bit position even when the report descriptor says POP.' Add hid_use_report_desc, hid_parse_usage_page, hid_parse_usage_in_page. Changed iface for hid_report_size.
* Sync with NetBSD:n_hibma2000-08-261-2/+2
| | | | | Print unknown usages with 4 digits. Mask in page extraction.
* The USB library from NetBSD by Lennart Augustsson <lennart@augustsson.net>.n_hibma2000-06-111-0/+96
OpenPOWER on IntegriCloud