Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var CueSDK = require('cue-sdk-node');
- var cue = CueSDK();
- cue.set('W', 255, 255, 255); // Set the W key to #FFFFFF aka white
- // You can set multiple colors at the time!
- cue.set([
- ['A', 255, 0, 0],
- ['S', 0, 255, 0],
- ['D', 0, 0, 255]
- ]); // Set A to red, S to green, and D to blue
- // Special keys/lights are also supported!
- cue.set('Logo', 255, 255, 0); // Make the Corsair logo yellow
- // To turn off all leds
- cue.clear();
Advertisement
Add Comment
Please, Sign In to add comment