Commit Graph

29 Commits

Author SHA1 Message Date
augustss a5fd97f0e6 Repair hid_parse_usage_in_page() after format string cleanup: use fmtcheck(). 2000-12-28 01:22:40 +00:00
is a9006f3ed5 Format string cleanup by sommerfeld. 2000-10-10 19:23:58 +00:00
augustss b45cceffca Bump minor no because of API additions. 2000-09-24 02:20:39 +00:00
augustss 0c0b8fd77c Change the API a little to allow positions to be determined correctly
for multiple kinds.  From Dave Sainty <dave@dtsp.co.nz>.
2000-09-24 02:19:54 +00:00
augustss cb9f491cfe llow parsing of usage strings. 2000-09-24 02:17:52 +00:00
augustss 8d014ac8a4 Add hid_use_report_desc() to allow a user specified string to be used
as a report descriptor.
From Nick Hibma (FreeBSD).
2000-09-24 02:13:24 +00:00
augustss 5329aaea38 Remove __P(). 2000-08-20 15:57:02 +00:00
augustss 674ea71335 Print unknown usages with 4 digits.
Mask in page extraction.
2000-08-13 22:22:02 +00:00
msaitoh f6f00e2615 remove extra period in SEE ALL section 2000-07-05 15:45:28 +00:00
augustss d8dcced006 Some const poisoning. Suggested by Dave Sainty <dave@dtsp.co.nz> 2000-04-02 11:10:53 +00:00
augustss 1e5140923a Allow setting data without clearing it first. From Dave Sainty <dave@dtsp.co.nz> 2000-04-02 11:02:21 +00:00
augustss 670d533d54 Keep the bit position even when the report descriptor says POP. 2000-03-17 18:09:17 +00:00
augustss 18654c9f8e Handle report IDs a little better (but still not right). 2000-02-22 12:39:22 +00:00
augustss 297e4e8759 Add missing .Nm for hid_locate as pointed out by Danny Thomas. 1999-11-08 22:33:40 +00:00
augustss 3c38f639e2 Some minor changes suggested by Danny Thomas. 1999-11-08 22:19:17 +00:00
drochner ee32a80a8a > #include <sys/time.h> to make it compile again 1999-10-13 17:48:04 +00:00
lukem d896261208 back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
1999-09-20 04:38:56 +00:00
lukem b48252f365 * use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
  and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

		_DIAGASSERT(path != NULL)
	#ifdef _DIAGNOSTIC
		if (path == NULL) {
			errno = EFAULT;
			return (-1);
		}
	#endif
1999-09-16 11:44:54 +00:00
augustss bb9c6cca89 Fix some typos. 1999-07-24 01:42:49 +00:00
mrg ca939c9fa0 now, make the previous work. 1999-07-23 09:44:38 +00:00
mrg 740c238d27 do not install in /usr/share if MKSHARE=no 1999-07-23 09:40:44 +00:00
simonb 6bf3aa19f9 More trailing white space. 1999-07-02 15:46:05 +00:00
augustss 277d53cfdc Add some Microsoft non-standard extensions. 1999-06-28 05:53:48 +00:00
augustss 71716a24cc Sync names with reality. 1999-05-17 23:47:27 +00:00
augustss 18969028a2 Rename a few more functions so that all are prefixed by hid. 1999-05-12 00:37:43 +00:00
augustss 33c7bc4b2d Update man page and create links to it. 1999-05-12 00:14:58 +00:00
augustss c06d0d866b Update the man page and rename one functions. 1999-05-12 00:04:49 +00:00
augustss a1e0cc1cf7 Change copyright. I'll keep the copyright of these under more relaxed
terms than the usual TNF copyright since I'd like this API to be used
by e.g. Linux (and they object to the advertising clause).
1999-05-11 21:15:46 +00:00
augustss 18f11488db Make USB HID processing into a library. 1999-05-11 21:02:24 +00:00