11 releases

0.1.4 Sep 22, 2024
0.1.3 Sep 22, 2024
0.1.0 Aug 24, 2024
0.0.6 Aug 20, 2024

#687 in Hardware support

MIT license

15KB
392 lines

hyperrust

RGB utility for HyperX Alloy Origins 60 keyboard

Installation

cargo install hyperrust

Usage

hyperrust --help # show help
hyperrust --color D17A00 # set color to orange, hex format or "#D17A00"
hyperrust -a FF0000 -b FFFFFF # set animated gradient from red to white
hyperrust --theme default # set theme, currently only default is available
hyperrust --rainbow # rainbow effect
hyperrust --rainbow & # run in background

Note

As app needs to be running all the time to keep the effect, it is recommended to run it in background. Otherwise press ctrl+c to close the app and stop the effect.

udev rules

If you are getting Permission denied error, you can add udev rules to fix it. Copy 99-hyperx.rules to /etc/udev/rules.d/99-hyperx.rules and run sudo udevadm control --reload-rules && sudo udevadm trigger to apply the changes.

Dependencies

~3–11MB
~135K SLoC