Before you get started check out our Getting started with Node guide.
To get started open a command window in a code directory and type:
Git clone https://github.com/WootingKb/wooting-rgb-example.git
After you have the project run:
You’re now ready to run the examples.
For the advanced example we will use the array functions from the RGB library. These functions all modify an array inside the DLL, which will allow you to make very fast changes to the entire keyboard. Very useful if you want to make RGB effects or refresh your game screen.
You can choose to make single changes to the array, or update the whole array in one go. They are about the same speed, since you need to call an update function to send the array to the keyboard.
Take a look at the examples to see how you can use the array functions to create a simple scan effect.