/node-corsair-rgb

API wrapper for LibCorsairRGB

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

node-corsair-rgb

Available on npm as corsair-rgb

$ npm install --save corsair-rgb

A really bad API wrapper for LibCorsairRGB that I wrote in 10 minutes.

I really like colors.

And keyboards.

Only works on Windows because fuck it.

Simple example

This will make your "A" key yellow and all the others white. Holy fucking shit, right?

var keyboard = require('corsair-rgb');

keyboard.initialize();

keyboard.setKeyColor(keyboard.keymap.all.a, 255, 255, 0);

keyboard.flushLightBuffer();