summaryrefslogtreecommitdiffstats
path: root/usr.bin/usbhidctl/usbhid.c
Commit message (Collapse)AuthorAgeFilesLines
* usbhidctl appears to not report features and write size correctlyimp2007-12-211-4/+4
| | | | | | | | This turns out to be due to an argument botch for hid_report_size. The PR contained patches to fix the argument botch. Submitted by: Maurice Castro PR: usb/118915
* usage: Include the - in the x flag.grog2006-11-231-3/+3
| | | | | | | main: Make -x set the hexdump; there's no obvious reason to toggle it. Nitpicked by: ru MFC after: 1 week
* Add option -x to display output values in hex in addition to decimal.grog2006-11-231-9/+21
|
* Remove uninitialized local variable in favor of global.mdodd2003-05-261-2/+1
| | | | | | PR: bin/52685 Submitted by: Alexander Nedotsukov <bland@mail.ru> Approved by: re (scottl)
* Sync with NetBSD.mdodd2003-04-091-3/+4
| | | | | | | | | | | | | | - 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.
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-221-1/+1
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* Use libusbhid.h instead of libusb.h.joe2002-03-281-1/+1
|
* WARNS=2 fixes.markm2001-12-111-6/+6
|
* Remove a bogus %s from a printf.n_hibma2001-04-171-1/+1
| | | | Submitted by: kris
* Fix the build break.n_hibma2000-10-171-15/+9
| | | | | | | The solution isn't perfect, instead of printing the first report, it will the report no report id, but the proper solution is more complex than this. We would need to iterate over the report descriptor and figure out all the report id's before starting to print.
* Don't overflow in command-line argskris2000-10-091-2/+2
| | | | Submitted by: Mike Heffner <mheffner@vt.edu>
* Add the usbhidctl utility, from NetBSD, by Lennart Augusstn_hibma2000-07-051-0/+339
OpenPOWER on IntegriCloud