MHeironimus / ArduinoJoystickLibrary

An Arduino library that adds one or more joysticks to the list of HID devices an Arduino Leonardo or Arduino Micro can support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Control LED via report from windows

SteveC00k opened this issue · 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.

i'm also interested in this enhancement FWIW.