I bought a irock 74m led keyboard, but got no way to control the led.
This is my solution.
I reverse engineer the usb packet in this google sheet:
https://docs.google.com/spreadsheets/d/1USv1qFaWV14PxGkvopRJYdi818f88eJyBioqb9oLgBw/edit?usp=sharing
this project current contains a http server and a bot.
the server current accept message like
{
"mode": 3,
"brightness": 3,
"speed": 2
}the bot listen to /dev/input/event3, if there key input, it changes mode. but other stuff is also possible
mkdir build
cd build
cmake ..
make -j8- convert http server to gRPC
- support custom commands