Keyboard Gradients, Part 2

I got the gradient generator working! Sort of. It’s super fragile, has basically no error checking, and probably won’t work with your specific setup. That said, here it is:

Dependencies: Python 3.6+, Pillow, and Beautiful Soup 4

Usage

  • Open ICUE and create a new profile
  • Add a static lighting layer and set it to just one key
  • Duplicated the layer until you have 111 layers, or the number of keys your keyboard has
  • Export the profile with just “Lighting Effects” checked
  • Create a image with the colors you want. The size doesn’t really matter.
  • In the script, change the input profile name to match your exported profile file name from earlier. Change the input image name to match your image file name. Finally, set the output name to whatever you want, as long as it ends in “.cueprofile””
  • Run the script
  • Import the new profile in ICUE
  • If everything went well, you should have the colors from the image

The script doesn’t support keyboards with macro keys on the left; they’ll just be blank. Tested with the Corsair Strafe RGB Mk.1 and K70 Mk.2.

Leave a comment

Your email address will not be published. Required fields are marked *


Your data is processed in accordance with my privacy policy. Comments are manually approved and may take a while to appear.