Closed jleni closed 7 months ago
Hi! Any news on this? @karalabe
Commit 302fd402163c34626286195dfa9adac758334acc should be in another pull request, or in fact not present at all as this is probably fixed in a more recent release of hidapi. See #35.
This PR is a fix for #36. But the unrelated commit must be removed from the branch.
I am glad to separate this.. I will do it later today
This library is the wrong place to fix it, since it merely pulls in code from https://github.com/libusb/hidapi
When calling write in Windows, the number of written bytes is off by 1. This is the result of prepending the HID report ID in Windows.
This different behavior may result in issues in other layers.