freebsd-dev/lib/libusbhid
Kai Wang 73f68b3d41 MFC r205728
Merge improvements from kernel HID parser to the userland usbhid(3)
  parser.  This merge does not change any API and should not break any
  native or thirdparty applications.

  Changes include:

  * Merge multiple report ID support and other improvements from kernel
    HID parser.
  * Ignore rid argument in hid_start_parser, parse all the report items since
    we now support multiple report ID.
  * Skip report ID byte in hid_get_data() and set report ID byte in
    hid_set_data(), if report ID is non-zero.
  * Reimplement hid_get_report_id: instead get report id from uhid device
    (which is always 0), try parsing the report descriptor and return the
    first report ID encountered.

MFC r207812

  hid_get_data() now expects that the hid data passed in always contains
  the report ID byte. Thus we should not skip the the report ID byte in
  hid_interrupt().  Also, if HUP_KEYBOARD usage is an array, do not try
  to modify the 'data' pointer, instead, increase the hid_item_t field
  'pos' by 'report_size' before calling hid_get_data() during each
  iteration.
2010-05-18 10:32:20 +00:00
..
data.c MFC r205728 2010-05-18 10:32:20 +00:00
descr_compat.c Build fixups for the new USB stack. 2009-02-23 18:36:54 +00:00
descr.c MFC r205728 2010-05-18 10:32:20 +00:00
Makefile Bump the version of all non-symbol-versioned shared libraries in 2009-07-19 17:25:24 +00:00
parse.c MFC r205728 2010-05-18 10:32:20 +00:00
usage.c MFC r205728 2010-05-18 10:32:20 +00:00
usbhid.3 src/usr.bin/usbhidaction/usbhidaction.c 2009-02-02 00:49:39 +00:00
usbhid.h MFC r205728 2010-05-18 10:32:20 +00:00
usbvar.h MFC r205728 2010-05-18 10:32:20 +00:00