A few bits of code to set RGB leds on a Rocca Kone Aimo mouse.
And since 2021, other Rocca Kone * mice might also work.
Meant for linux, the python scripts might work on windows.
The cpp tool roccat_kone_aimo_rgb_tool.cpp
is recommended, it's fast enough to be used in scripts for nice led animations.
Or just to disable the leds (Set all to 0).
It only works with the hidraw driver on linux.
Build and usage instructions can be found in the source file.
aimo_animate_example.py
is meant to be used with the cpp tool to make animations.
aimo.py
can set colors on its own, but cannot be used to animate leds under linux, because libusb cannot do that.
To compile the cpp tool:
g++ roccat_kone_aimo_rgb_tool.cpp -o roccat_kone_aimo_rgb_tool -I/usr/include -O3 -march=native
Use the tool to set all leds to a nice red:
./roccat_kone_aimo_rgb_tool /dev/hidraw0 FF 00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 00 FF 00 00
To use a single color for all LEDs you may use the shorthand version:
./roccat_kone_aimo_rgb_tool /dev/hidraw0 FF 00 00
For more infos read the sources.
USB Captures provided by Metaln00b.