Skip to content

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

Closed

Description

@JoergAtGithub

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

Activity

  1. added
    bug
    libusb
    on Sep 11, 2022
  2. mcuee commented on May 10, 2023

    @mcuee
    Member

    Is it because most of the USB HID Devices use the second way that we have not seen bug report for thr libusb backend?

  3. Youw commented on May 10, 2023

    @Youw
    Member

    Yes, likely

  4. added a commit that references this issue on Aug 26, 2023
    8a4de63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buglibusb

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions