summaryrefslogtreecommitdiffstats
path: root/lib/libusbhid (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use .Lk for HTTP hyperlinks, not .Pa.schwarze2012-08-121-3/+3
| | | | | | | | Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>. jmc@ agrees in principle that .Lk is the right macro to use. While here, update a few broken links, and add missing markup at a few places.
* remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.okan2012-08-021-2/+1
| | | | ok guenther@
* revert previous, it was hardly tested and is causing too many issues too close to release.jasper2012-07-167-370/+210
| | | | as discussed with and ok mpi@ deraadt@
* add support to get signed/unsigned HID datayuo2012-07-121-7/+9
|
* - port multiple report ID support for HID parser from FreeBSD codeyuo2012-07-117-213/+394
| | | | | | | | | | (rev. 205728, 224511 and 225839) - add hid_get_report_id(3) to get id of a descriptor. - crank the major in shlib_version 3.0 -> 4.0 ok deraadt@, mpi@
* Fix return value documentation errors in usbhid(3).stsp2012-02-191-6/+8
| | | | | | | hid_dispose_report_desc() returns void, it can't return NULL on failure. hid_get_report_desc() and hid_use_report_desc() return NULL on failure but this was not documented. ok jmc
* Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'miod2011-04-061-2/+2
| | | | for chars.
* From NetBSD rev 1.5jsg2009-07-241-2/+1
| | | | The report size is not a local item, so don't clear it when clearing local items.
* Global Item #3 should be Physical Minimum not Maximum accordingjsg2009-07-241-2/+2
| | | | | | to the HID spec. From FreeBSD hid.c rev 1.31
* malloc(n * m) -> calloc(n, m); ok espiederaadt2007-09-031-2/+2
|
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* remove some bogus *p from charles longeautedu2007-03-201-2/+2
| | | | ok deraadt millert
* actually the format strings do come from the usb_hid_usages file;deraadt2006-10-271-2/+2
| | | | from janus@errornet.de
* Fix a bzero() misuse; ok otto@ deraadt@pat2006-03-301-2/+3
|
* - plug memleak when handling reallocation failure in hid_start()jaredy2006-03-211-9/+13
| | | | | | | - avoid NULL dereference while reclaiming memory during error handling in hid_start() ok ray dhill
* Plug a memleakdhill2006-03-181-2/+2
| | | | ok ray@ "Wow, no kidding." deraaadt@
* use WANTLINT= (on all architectures)deraadt2005-11-241-1/+2
|
* add hid_parse_usage_page and hid_parse_usage_in_page to .Nm list;jmc2005-10-121-1/+3
|
* Fix a realloc() failure bug introduced in previous version.matthieu2005-02-101-2/+2
| | | | Found by Andey Matveev.
* errno changes, lib major version bumps, and general flag daymarc2004-07-131-1/+1
| | | | | | | To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
* - escape minus signjmc2004-06-041-3/+3
| | | | - occured -> occurred
* knf + new interface: hid_start() is non-exit non-stderr spewing version of hid_init(); ok matthieu millertderaadt2004-06-048-102/+142
|
* Fix unbounded scanf()'s. From Jared Yanovich. Ok tedu@.matthieu2003-12-201-4/+4
|
* - typos;jmc2003-05-241-6/+6
| | | | | - new sentence, new line; - whitespace at EOL
* updated URL for USB specification from Leandro Costajmc2003-05-061-4/+4
| | | | | new sentence, new line .Pa for URL is clearer
* Crank all library major numbers. Needed due to the fact that wemillert2002-12-031-1/+1
| | | | | | | | now build libraries with propolice enabled. Without this, existing binaries (such as ports/packages) that link with any system library other than libc will fail with an undefined symbol of "___guard" (__guard on ELF). Pointed out by markus@ and discussed with deraadt@
* add shared lib.brad2002-09-062-3/+3
| | | | | -- Ok'd by: deraadt@
* use more snprintfderaadt2002-06-191-3/+3
|
* strike newline from err(3) functions; ok nate@jsyn2002-06-111-5/+5
|
* Update usb userland stuff to reflect hid changes in the kernel.nate2002-05-107-84/+140
| | | | | | This adds the new program usbhidaction which can be used to assign actions to events that occur on a uhid device. For example, you can now make the volume buttons on some newer keyboards actually do something.
* userland portion of prefixing usb structure members to avoid name clashes.nate2002-05-021-3/+3
| | | | From NetBSD
* o) start new sentence on a new line;mpech2002-05-011-13/+15
| | | | | | | o) always close .Bl tags; o) fix usage of .Xr; millert@ ok
* Initial cleanup:mpech2002-04-301-2/+1
| | | | | | | | | | | | o) remove extra space in the end of line; o) remove extra blank lines in the end of file; o) remove .Pp before .Ss; o) CAVEAT -> CAVEATS; o) fix usage of .Fa; o) <blank-line> -> .Pp; o) wrap long lines; millert@ ok
* Rename libusb to libusbhid, a better name, per NetBSDpvalchev2001-12-308-0/+1167