pascalpuffke / kone-aimo-xresources

Sets the RGB LEDs of a Roccat Kone Aimo mice to Xresources colors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kone-aimo-xresources

Utility to set LEDs of a Roccat Kone Aimo mice to your current Xresources scheme. Requires this tool made by ninnghazad. Highly recommended to use in combination with pywal.

Usage

  • Make sure you have a recent version of Java 8 installed
  • Clone the roccat_kone_aimo repo and build the executable: g++ roccat_kone_aimo_rgb_tool.cpp -o roccat_kone_aimo_rgb_tool -I/usr/include -O3 -march=native
  • Grab a jar file from Releases
  • Put the jar file in the same directory as the roccat_kone_aimo_rgb_tool executable
  • Run the program! java -jar kone-aimo-xresources.jar [--dev device] [--primary color] [--secondary color]

Syntax

java -jar kone-aimo-xresources.jar [--dev device] [--primary color] [--secondary color]

-dev: hidraw device (ex. /dev/hidraw0), find the correct one by trial and error. I know it is extremely stupid, but I have no idea how to automatically detect the correct device. If the program doesn't work, it is most likely sending data to the wrong device!

--primary: any Xresources color from 0-7

--secondary: any Xresources color from 0-7

Contribution

Have fun looking at my stupid code

About

Sets the RGB LEDs of a Roccat Kone Aimo mice to Xresources colors

License:GNU General Public License v3.0


Languages

Language:Java 100.0%