Updated HID lights (markdown)

sp2xdev
2025-04-14 16:20:18 -07:00
parent 94d02ec1c5
commit 9f5a172fda
+13
@@ -2,3 +2,16 @@ This information is for developers and controller makers.
Spice can translate cabinet light output to USB HID output.
## HID specification
The [HID usage spec](https://www.usb.org/sites/default/files/hut1_6.pdf) is maintained by the USB-IF.
For lights, the `LED Page (0x08)` is the most commonly used, but you are not limited to those.
## Sample code
Arduino code in [UltimatePopnController](https://github.com/CrazyRedMachine/UltimatePopnController/blob/master/popnController/POPNHID.cpp)
Arcin code in [arcin-infinitas](https://github.com/kinetic-flow/arcin-infinitas/blob/master/arcin/report_desc.h)
[Beef-board](https://github.com/HWXLR8/beef-board/blob/master/fw/Descriptors.h)