Commit Graph

22 Commits

Author SHA1 Message Date
christos
6728d906e9 Prefix structure members to protect them against clashes with eg. c++ keywords.
Suggested by Alfred Perlstein, from FreeBSD, ok'd by augustss
2002-02-20 20:30:12 +00:00
augustss
f8efb19e18 Print items with a usage range in a comprehensible way.
Also print all items in an array.
2001-12-29 21:23:24 +00:00
augustss
0519f15d3d Update for libusbhid(3) changes. 2001-12-28 17:49:31 +00:00
augustss
5e2e7b5a79 Provide a nicer messages if the device read fails.
From David Sainty in PR bin/15019.
2001-12-22 12:34:41 +00:00
augustss
dc41f2f427 Change usbhidctl to take numeric usage names. Add examples in the man
page.  From Dave Sainty <dave@dtsp.co.nz>.
2001-10-22 22:03:49 +00:00
simonb
a378517ea4 80 column police. 2001-03-28 03:17:41 +00:00
cgd
a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
augustss
50891507e0 Updated version of the usbhidctl command that allows setting, as well as
reading, items.  From Dave Sainty <dave@dtsp.co.nz>.
2000-09-24 02:27:12 +00:00
matt
fcd0fb118f Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
2000-07-03 02:51:12 +00:00
simonb
d88dfea295 Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
augustss
ff6d760db9 GC an unused #define. 1999-05-16 19:42:03 +00:00
augustss
63541a8c9d Sync with libusb. 1999-05-12 00:38:20 +00:00
augustss
d2db1be09a Update for new libusb. 1999-05-12 00:05:11 +00:00
augustss
18f11488db Make USB HID processing into a library. 1999-05-11 21:02:24 +00:00
augustss
dc975a385b Dump more HID info. 1999-04-21 17:41:08 +00:00
augustss
f52e3c039b Handle devices with a report id correctly. 1999-04-21 16:23:14 +00:00
augustss
ef51366cb7 Handle flags better. 1998-12-03 20:46:10 +00:00
augustss
9726cfd1fb Make the copyright header conform to the NetBSD template. 1998-11-25 22:17:06 +00:00
augustss
02c8f266db Make the /dev/ part of the device name optional. 1998-07-23 13:48:59 +00:00
augustss
262a9daf93 Make usbhidctl more like other *ctl commands. 1998-07-13 20:56:28 +00:00
augustss
c9b3b5ba88 Make some small improvements to usbhidctl and include a much
larger usage table.
1998-07-13 20:44:03 +00:00
augustss
8f894bc08b Add usbhidctl(1) a program for manipulating USB HID devices. 1998-07-13 11:14:03 +00:00