christos
10deb451c0
minor type fixes.
2016-01-02 21:58:10 +00:00
jakllsch
aaf9a4516d
Teach hid_parse_usage_in_page() how to understand hex literals, in
...
addition to the usual table lookup.
2016-01-02 01:24:44 +00:00
jakllsch
f5863ab3d2
Fix round-trip of hid_usage_in_page(hid_parse_usage_in_page()) when
...
the usage is a catch-all format string.
This should allow usbhidctl(1) to understand an item argument of
"Button:Button_65535".
2016-01-02 01:04:15 +00:00
christos
ac579202bd
fix debug build.
2006-04-09 00:49:55 +00:00
dsl
1793b7dd69
Use (unsigned char) cast to sanitise arguments to ctype functions.
2004-10-28 21:14:52 +00:00
dsl
d349cd6749
Fix a load of international alphabet problems with isxxx() and toupper()
...
Change isspace(*char_ptr) to isspace(*char_ptr & 0xff) so that the correct
piece of memory is looked at for the bit mask.
gcc optimises out the '& 0xff' (on i386 at least).
Fixes problems found by gcc when the splurious (int) cast is removed
from the #defines in ctype.h
2004-10-27 19:59:24 +00:00
salo
99410184e7
netbsd.org->NetBSD.org
2003-07-26 19:24:24 +00:00
lukem
e2d7870626
add RCSID
2003-03-08 07:42:33 +00:00
grant
6742cb1812
sweep of errx/warnx, remove unnecessary trailing \n
2002-07-20 08:36:17 +00:00
augustss
8ac1932ef2
Update for uhidev(4) changes.
...
Also rename libusb to libusbhid (which is a much better name).
2001-12-28 17:45:25 +00:00