summaryrefslogtreecommitdiffstats
path: root/lib/libusbhid/usage.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix hid_usage_in_page(hid_parse_usage_in_page()) for the Buttons page.mpi2018-07-091-4/+16
| | | | From David Bern.
* use reallocarray(); ok dougderaadt2014-10-081-5/+5
|
* fairly simple unsigned char casts for ctypederaadt2013-11-291-4/+4
| | | | ok krw
* Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'miod2011-04-061-2/+2
| | | | for chars.
* malloc(n * m) -> calloc(n, m); ok espiederaadt2007-09-031-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@
* Fix a realloc() failure bug introduced in previous version.matthieu2005-02-101-2/+2
| | | | Found by Andey Matveev.
* knf + new interface: hid_start() is non-exit non-stderr spewing version of hid_init(); ok matthieu millertderaadt2004-06-041-44/+91
|
* Fix unbounded scanf()'s. From Jared Yanovich. Ok tedu@.matthieu2003-12-201-4/+4
|
* 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-101-6/+7
| | | | | | 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.
* Rename libusb to libusbhid, a better name, per NetBSDpvalchev2001-12-301-0/+233