freebsd-dev/usr.sbin/bluetooth/bthidd
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
..
bthid_config.h Update bthidd(8) code and hook it up to the build. 2006-09-07 21:47:49 +00:00
bthidd.8 - Grammar and typo fixes 2006-10-10 22:38:31 +00:00
bthidd.c Update bthidd(8) code and hook it up to the build. 2006-09-07 21:47:49 +00:00
bthidd.conf.sample
bthidd.h Update bthidd(8) code and hook it up to the build. 2006-09-07 21:47:49 +00:00
client.c Properly htole16() PSM in sockaddr_l2cap 2006-11-02 18:57:09 +00:00
hid.c MFC r205728 2010-05-18 10:32:20 +00:00
kbd.c Temporarily put ugly workaround in place to make sparc64 build happy. 2006-09-08 15:05:38 +00:00
kbd.h Update bthidd(8) code and hook it up to the build. 2006-09-07 21:47:49 +00:00
lexer.l Update bthidd(8) code and hook it up to the build. 2006-09-07 21:47:49 +00:00
Makefile Fixed "make checkdpadd" (missing library dependencies). 2007-10-01 18:15:11 +00:00
parser.y Do not mark Bluetooth HID device as a "potential keyboard" if its descriptor 2006-11-27 22:52:11 +00:00
server.c Use socklen_t instead of int32_t where appropriate to pacify new GCC4 2006-09-21 02:32:28 +00:00
session.c Update bthidd(8) code and hook it up to the build. 2006-09-07 21:47:49 +00:00