ArduinoJoystickLibrary icon indicating copy to clipboard operation
ArduinoJoystickLibrary copied to clipboard

Control LED via report from windows

Open SteveC00k opened this issue 3 years ago • 1 comments

There is currently no receive code for controlling LED's Like mice such as the gamming ones have. I am not sure if its even possible to do this. I would like to be able to send to the HID a command to turn on or off an led based on events.

I am using this for a custom controller using the web game api. I can pull the connected joystick HID info via JavaScript navigator.hid.getDevices(0);
Once I have that info then I can send a HID report back to the Arduino telling it to turn on/off leds I have connected for visual display. Example of what I mean but a different HID device. I have a razor mouse and you can control the LED's in it. You can change color or turn them off. This is what I need to do but with the Arduino. Thanks for your time.

SteveC00k avatar Oct 03 '22 08:10 SteveC00k

i'm also interested in this enhancement FWIW.

truher avatar Oct 13 '22 19:10 truher