Skip to content

[libusb] hid_read doesn't include the report ID #759

@acolombier

Description

@acolombier

Hi,

I have using hidapi_libusb on Android, and it looks like the first byte returned by hid_read is not the report ID as the doc suggest.

Trying on my Linux machine with hidraw and the same device, hid_read does include the report ID as first byte, so I suspect there is something wrong with libusb, or libusb on Android.

Do you have any suggestion to work around this? Mainly, I'm wondering if there is a way, even as a subsequent call to get the report ID related to a buffer read with hid_read

Tested with version 0.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existslibusbRelated to libusb backend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions