Updated HID lights (markdown)

sp2xdev
2025-04-14 16:26:17 -07:00
parent 19f472c78a
commit 3a411e294c
+3 -1
@@ -8,10 +8,12 @@ The [HID usage spec](https://www.usb.org/sites/default/files/hut1_6.pdf) is main
For lights, the `LED Page (0x08)` is the most commonly used, but you are not limited to those.
## Dumping USB capabilities
## Dumping USB capabilities and testing
Launch `spice.exe -cfg -sysdump all` to show a dump of HID devices detected by spice.
To test, go to Lights tab, and open the drop down. Your device should appear there, and you should be able to see the list of output capabilities of your device. Press `Turn On` to have spice send "on" signal to your device over the Windows HID stack.
## Sample code
[Arduino-HID-Lighting](https://github.com/mon/Arduino-HID-Lighting) - read this first.