hidapi icon indicating copy to clipboard operation
hidapi copied to clipboard

32bit Usage items are not supported by get_usage of libusb backend

Open JoergAtGithub opened this issue 3 years ago • 0 comments

The USB standard allows it to specify a usage in two ways:

  • Fully qualified as one single 4 byte report descriptor Usage item
  • Seperated in an 1 or 2 byte Usage-Page item, followed by an 1 or 2 byte Usage item The get_usage function of the libusb backend supports only the second.

From USB HID spec 1.11 page 17: grafik

From USB HID spec 1.11 page 35: grafik

JoergAtGithub avatar Sep 11 '22 13:09 JoergAtGithub