Page 1 of 1

Host Software for HID? Example code?

Posted: Thu Jan 28, 2010 7:24 am
by Jason Bourne of Computers
Hello guys,

I would like to write a front end application on windows that basically has some configuration settings for my v-usb HID keyboard. This being that my HID keyboard has different color/pattern LED backlighting schemes and I would like the user to be able to select them from a windows app. (I may even have some fun and get it to sync to music or something, but that is for later). Does any one know of any good approaches or examples for this? I have not found anything via a search so I am asking in this thread. Thanks, and your help is very much appreciated!

Re: Host Software for HID? Example code?

Posted: Sat Feb 27, 2010 1:55 pm
by christian
There are two options: You can send custom requests to your device via libusb-win32 or you can send HID feature reports. Sending custom requests to endpoint 0 should always be possible, even if the device is connected to a class driver. Feature reports should also work, but I'm not a Windows expert so I don't know whether this is allowed.