npm.io
0.2.0 • Published 10 years ago

corsair-rgb

Licence
GPL
Version
0.2.0
Deps
1
Vulns
0
Weekly
0
Stars
5

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();

Docs