corsair-rgb

LibCorsairRGB API wrapper for Node

Usage no npm install needed!

<script type="module">
  import corsairRgb from 'https://cdn.skypack.dev/corsair-rgb';
</script>

README

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