| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-05-22 | usbhid.3: hid_parse_usage_in_page() actually returns int | charlotte | |
| 2021-11-03 | usbhid(3): use reallocarr | nia | |
| 2020-04-04 | lib/libusbhid: Fix possible left shift changes signedness bit. | fox | |
| This bug was reported by UBSan runs. lib/libusbhid/parse.c:246:20 Can result in left shift changes signedness bit as a side effect positive number can go negative, cast it to unsigned for the operation and silence the issue. Reviewed by: kamil@ | |||
| 2020-04-04 | lib/libusbhid: Fix possible left shift changes signedness bit. | fox | |
| This bug was reported by UBSan runs. lib/libusbhid/usage.c:247:27 lib/libusbhid/usage.c:244:28 lib/libusbhid/usage.c:235:13 Can result in left shift changes signedness bit as a side effect positive number can go negative, cast it to unsigned for the operation and silence the issue. Reviewed by: kamil@ | |||
| 2020-04-04 | lib/libusbhid: Fix possible left shift changes signedness bit. | fox | |
| This bug was reported by UBSan runs. lib/libusbhid/data.c:58:25 lib/libusbhid/data.c:91:7 lib/libusbhid/data.c:92:7 Can result in left shift changes signedness bit as a side effect positive number can go negative, cast it to unsigned for the operation and silence the issue. Reviewed by: kamil@ | |||
| 2017-12-10 | Fix fallout from hid factorisation: | bouyer | |
| - 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-10-22 | Add hid_parse_usage_page and hid_parse_usage_in_page to the NAME section | abhinav | |
| 2017-07-03 | Remove workaround for ancient HTML generation code. | wiz | |
| 2016-01-22 | Uses __BEGIN_DECLS so needs sys/cdefs.h; also needs stdint.h. | dholland | |
| And, while here, add missing include guard. | |||
| 2016-01-07 | Fix buffer-overrun/off-by-one in hid_set_data(3). | jakllsch | |
| (The tests only detected this as a problem on ARMv7, not i386.) | |||
| 2016-01-07 | Don't crash when the device's HID Report Descriptor Pops from an empty stack. | jakllsch | |
| 2016-01-02 | minor type fixes. | christos | |
| 2016-01-02 | Teach hid_parse_usage_in_page() how to understand hex literals, in | jakllsch | |
| addition to the usual table lookup. | |||
| 2016-01-02 | Fix round-trip of hid_usage_in_page(hid_parse_usage_in_page()) when | jakllsch | |
| the usage is a catch-all format string. This should allow usbhidctl(1) to understand an item argument of "Button:Button_65535". | |||
| 2016-01-01 | Fix hid_get_data() for negative or 32-bit report data. | jakllsch | |
| 2016-01-01 | Alphanumeric is spelled Alphanumeric | jakllsch | |
| 2015-12-31 | compare pointer against NULL instead of 0 | jakllsch | |
| 2012-05-09 | Extended usb_hid_usages, with help from the equivalent file from FreeBSD. | khorben | |
| Favored NetBSD upon conflicts, except for a typo and consistency. ok riz@ | |||
| 2012-03-15 | Use Lk macro when dealing with URLs. Another part of PR/29238. | njoly | |
| 2012-01-17 | PR/45850: Pierre Pronchery: USB multi-touch panels are not supported | christos | |
| 2011-05-23 | Remove pointless self-assignment | joerg | |
| 2010-08-13 | Improve usbhid(3) descriptor/report parsing: | jakllsch | |
| Handle signed Physical Minimums Handle signed Unit Exponents | |||
| 2010-05-12 | note const from actual API | plunky | |
| 2010-05-12 | hid_get_data() will read an extra byte if the data being read ends on | plunky | |
| a byte boundary. This byte is subsequently discarded, but it could be a byte from memory after the end of the report being parsed. Fix this by rounding up and ending the loop one earlier. | |||
| 2010-03-22 | Use .In instead of .Ar Pa for header files. | joerg | |
| 2010-01-05 | Fix copy-paste-o. Per the HID spec, Global Item Tag 0b001101nn is | jakllsch | |
| Physical Minimum, not a alias for Physical Maximum. | |||
| 2009-07-10 | Add more Keypad usages in the Keyboard/Keypad page | jakllsch | |
| from USB HID Usage Tables document version 1.11. Admitedly these are not going to be noticed when ukbd(4) is around. While here, correct a typo (that's also in the HUT document), and normalize to ASCII a non-UTF-8 encoding of "moire". "This may prove useful to some of you someday, perhaps in a somewhat bizarre set of circumstances." - Tom Lehrer | |||
| 2007-05-24 | add generic Device Controls usage page information | plunky | |
| 2007-04-11 | add const to the data for hid_use_report_desc() since it does | plunky | |
| not modify the memory. | |||
| 2007-03-23 | add __BEGIN_DECLS/__END_DECLS so that this can be used from c++ libs | drochner | |
| (there is code out there -plib/flightgear- which tries this) | |||
| 2006-05-19 | cast shift argument in macro. | christos | |
| 2006-04-09 | fix debug build. | christos | |
| 2005-12-14 | Fix sign extension broken by previous. dillo hacked here too. | wiz | |
| 2005-12-05 | fix non-portable right shifts. | christos | |
| 2004-10-28 | Use (unsigned char) cast to sanitise arguments to ctype functions. | dsl | |
| 2004-10-27 | Fix a load of international alphabet problems with isxxx() and toupper() | dsl | |
| 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-06-10 | Minor fix in SEE ALSO; put xref first; .Pp before a sentence. | uebayasi | |
| 2004-05-16 | Add entries for items found on the Microsoft Wireless MultiMedia Keyboard 1.1. | lukem | |
| Spell "Microsoft" correctly. | |||
| 2004-01-05 | The report size is not a local item, so don't clear it when clearing local ↵ | augustss | |
| items. | |||
| 2003-07-26 | netbsd.org->NetBSD.org | salo | |
| 2003-06-06 | Grammar, spelling, markup fixes from jmc@openbsd. | wiz | |
| 2003-04-16 | Use | wiz | |
| .In header.h instead of .Fd #include \*[Lt]header.h\*[Gt] Much easier to read and write, and supported by groff for ages. Okayed by ross. | |||
| 2003-03-08 | add RCSID | lukem | |
| 2003-02-14 | 'NetBSD.org' and some mdoc fixes. | grant | |
| 2002-10-01 | New sentence, new line. From Robert Elz. | wiz | |
| 2002-07-20 | sweep of errx/warnx, remove unnecessary trailing \n | grant | |
| 2002-02-20 | Prefix structure members to protect them against clashes with eg. c++ keywords. | christos | |
| Suggested by Alfred Perlstein, from FreeBSD, ok'd by augustss | |||
| 2002-02-07 | Generate <>& symbolically. | ross | |
| 2002-01-19 | Fix typo in URL, reported by Peter Valchev in private mail. | wiz | |
| 2002-01-12 | Corrected typo: hid(4) -> uhid(4) | kristerw | |
