Closed neverpanic closed 5 years ago
@karalabe @fjl could you consider merging this one? Seems to work just fine in linux as well :)
I tested just the SendFeatureReport() on a Win10 and it also works
@neverpanic, great work! @karalabe maybe it's time to merge this PR?
Anything still blocking this?
@karalabe I hope this doesn't come across as offensive, it's really not meant that way. If you just don't have the time for it currently, I'll understand. But since I'm depending on this library with a project, I'm wondering: are you still planning to maintain this library or shall we concentrate on a fork?
Sorry for the delay.
Thank you!
Some USB devices require sending a feature report before they will answer to read requests. Implement wrapper functions for the hidapi hid_send_feature_report and hid_get_feature_report functions to support doing so.
I have tested this on macOS.
Note that this is only my second time writing Go, so please pull with review and care.
See also #10.