Commit Graph

11 Commits

Author SHA1 Message Date
Greg Lehey
eb29cfdd00 usage: Include the - in the x flag.
main: Make -x set the hexdump; there's no obvious reason to toggle it.

Nitpicked by:   ru
MFC after:	1 week
2006-11-23 05:07:32 +00:00
Greg Lehey
9a2a66f1bb Add option -x to display output values in hex in addition to decimal. 2006-11-23 00:20:54 +00:00
Matthew N. Dodd
caf357a2c8 Remove uninitialized local variable in favor of global.
PR:		 bin/52685
Submitted by:	 Alexander Nedotsukov <bland@mail.ru>
Approved by:	 re (scottl)
2003-05-26 04:58:26 +00:00
Matthew N. Dodd
cf0e07e504 Sync with NetBSD.
- 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.
2003-04-09 01:52:49 +00:00
Dag-Erling Smørgrav
d397408818 Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
Josef Karthauser
e2d8b54630 Use libusbhid.h instead of libusb.h. 2002-03-28 18:14:20 +00:00
Mark Murray
1a27f4f2c3 WARNS=2 fixes. 2001-12-11 23:25:13 +00:00
Nick Hibma
1a2cdef496 Remove a bogus %s from a printf.
Submitted by:	kris
2001-04-17 15:00:03 +00:00
Nick Hibma
1d10fe5062 Fix the build break.
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.
2000-10-17 17:13:38 +00:00
Kris Kennaway
b2338d532a Don't overflow in command-line args
Submitted by:	Mike Heffner <mheffner@vt.edu>
2000-10-09 05:44:39 +00:00
Nick Hibma
09d308a828 Add the usbhidctl utility, from NetBSD, by Lennart Augusst 2000-07-05 17:43:33 +00:00