NicoHood/HID

question: how to use setFeatureReport

Closed this issue · 2 comments

I try to wrap my head around the setFeatureReport part in the bootkeyboard with Hyperion rgb example.

How does this work?

So if I want to make a small keyboard with some rgb leds how do I define the output and how do I feed data from the pc to the keyboard to change the colors?

A hint to where I can find the other (pc) half of the example would be helping to understand I think.

edit:
is https://eleccelerator.com/tutorial-about-usb-hid-report-descriptors/ a good starting point?!

further edit:

is this the right spot to grab a hold of how it is connected?
https://github.com/hyperion-project/hyperion/blob/master/libsrc/leddevice/LedDeviceHyperionUsbasp.cpp

Hm what should I answer...
This feature is very experimental. It worked, yes. But I do not recommend to use it. If you really want to send additional data either write your own device with feature report support, use rawhid (which does not seem to work properly) or Serial. I'd use serial in your case.

The PC side example... Is a good question. I really dont know, my fault. :/ Sorry for no better answer.

continued in #185 ... forgot i opened this one before :P