Jump to content
Corsair Community

Additional JSON-Language for programing keyboard colors


Vanefanel

Recommended Posts

Hi everyone,

 

I am a huge fan of the RGB-keyboards and very interested in writing programs and animations.

When I started to handle my keyboard I'm was very sad about the windows program to write the color-animation.

So I decided to write my own program and define my own syntax to handle the color effects of my keyboard.

 

The solution is know in a first presentable state and I published it on github:

 

You can find it on https://github.com/VanFanelia/CorsairColorManager .

 

The following code is an example rainbow fade program (Keys: “WASD”):

{
   "colorMixingRule": "OVERRIDE",
   "startAction" : "fromBlue",
   "rules": [
       {
           "type": "HSVColorChange",
           "delay": 0,
           "startColor": "0000ffff",
           "endColor": "ffff00ff",
           "duration": 2500,
           "alias": "fromBlue",
           "keys": ["W","A","S","D"],
           "doAfter" :  ["toBlue"]
       },
       {
           "type": "HSVColorChange",
           "delay": 0,
           "startColor": "ffff00ff",
           "endColor": "0000ffff",
           "duration": 2500,
           "alias": "toBlue",
           "keys": ["W","A","S","D"],
           "doAfter" :  ["fromBlue"]
       }
   ]
}

 

Here is an example of the animation:

[ame]

[/ame]

 

In the future I plan to create more rules to make standard animations easier for everyone to use.

Currently only the settings of colors and color fading between to colors is implemented.

In the future I want to have standard rules for moving and or keydown events.

 

I hope this project will help some people to create more and better animations.

 

greetings

Van

 

Edit: added link to youtube demo video

Link to comment
Share on other sites

Today i added the layout for englisch keyboards. You can start the program with an additional parameter to switch between germany (DE) or englisch (EN) K70RGB keys.

 

I haven't got an englisch keyboard, so i cannot test it.

 

On github is now a description of the first 3 color rules.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...