Commit Graph

63 Commits

Author SHA1 Message Date
dsainty 8c74e515a9 Purge an ancient email address, use dsainty@NetBSD.org instead 2019-09-22 07:28:35 +00:00
bouyer 878cb1cfc5 Fix fallout from hid factorisation:
- need to install sys/dev/hid/hid.h for userland
- include it where needed - most of the time in place if usb/usbhid.h
2017-12-10 20:38:13 +00:00
riastradh 6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
wiz a5684d07dd Use Mt for email addresses. 2013-07-20 21:39:55 +00:00
joerg 6818646ac8 Use __dead 2011-09-16 15:39:25 +00:00
wiz c51b743b1e Add long example describing how to find and configure multimedia
keys; based on Mihai Chelaru's description on current-users in February.
Bump date.
2011-03-30 11:35:25 +00:00
lukem 23ed38873e fix sign-compare issues 2009-04-14 06:14:10 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
wiz 09e63f3f79 Sync usage with manpage. 2006-10-26 11:12:41 +00:00
wiz 2a68b10b7d Bump date. 2006-10-26 11:12:13 +00:00
wiz 5d62300779 Pull single letter options together.
-r and -w need at least one argument, so document as such. Mark up GET_REPORT.
2006-10-26 11:12:00 +00:00
dsainty f903859f35 Implement an option to reset all values (rather than attempting to read
them) to allow setting item values on certain pesky devices that otherwise
error out on the GET_REPORT command.

Indicated via the new -z flag.
2006-10-22 06:16:37 +00:00
dsainty 3d56b3bab3 Add support for addressing multiple items with the same name (for buggy
devices).

The syntax and patch were discussed with Lennart about 1.5 years ago :)

Knock the BUG entry out of the man page.
2006-10-22 05:09:14 +00:00
mrg 084c052803 quell GCC 4.1 uninitialised variable warnings.
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00
christos 76c6077db0 Coverity CID 815: Avoid NULL pointer deref. 2006-05-01 05:04:02 +00:00
jdolecek 98eec0d015 bump size of some arrays 2005-02-09 22:14:13 +00:00
dsl 1869f0e146 Add (unsigned char) cast to ctype functions 2004-11-05 21:56:01 +00:00
dsainty 5469cb6f9a Make the USB_GET_REPORT error format match the USB_SET_REPORT error format by
including the report the error was on.
2004-10-31 07:36:19 +00:00
dsainty b95d1a22d4 Correct spelling of hierarchy in a comment, and tab around RCSID 2004-10-30 05:16:13 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
wiz e07b8295fc Cm So . Sc -> Sq Cm \&. (and similar for :). 2003-07-01 10:26:27 +00:00
agc a8d6388e6f Add NetBSD RCS Ids. 2003-06-23 13:05:47 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
grant be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
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
veego e2e1706f05 Ups, it is LIBUSBHID and not LIBUSBHIB. 2002-02-02 16:54:26 +00:00
veego 3de557e57f Change LIBUSB to LIBUSBHIB, reflecting the library name change. 2002-02-02 16:49:52 +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 26ea6daa53 Add a clarifying remark to the -a option. 2001-12-24 10:10:10 +00:00
augustss c9de30b246 Back out last commit that was not meant to be done yet. 2001-12-22 19:39:42 +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
wiz dffa59c8f5 Sort sections, sort SEE ALSO, standardize section header, improve markup in
one place.
2001-10-22 23:51:12 +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
augustss f744825091 Some fixes suggested by Sheldon Hearn <sheldonh@uunet.co.za> (FreeBSD). 2000-07-06 07:26:48 +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 9e0a31a316 Xref usb(3). 1999-05-11 21:03:58 +00:00
augustss 18f11488db Make USB HID processing into a library. 1999-05-11 21:02:24 +00:00
augustss f0956be346 Updates from Soren S. Jorvang <soren@t.dk> 1999-05-08 14:56:21 +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 caf9aabb3e Make opyrights conform. 1999-04-13 20:50:48 +00:00