karalabe / hid

Gopher Interface Devices (USB HID)
Other
266 stars 132 forks source link

Unknown failure on write #24

Closed itapai closed 5 years ago

itapai commented 5 years ago

I'm trying to change the LED on my keyboard. This is the snippet: https://pastebin.com/Xzr1X9P5

When I try to write more than 8btyes, I get an error: hidapi: unknown failure

I don't really know how to debug this. I didn't really find any examples online, and I'm quite new to this stuff. Any help is appreciated!