Introduction
The Wooting RGB SDK can be used to change any color on the keyboard.
The SDK is open source and written in C. This makes it easily portable to any application. Check out our github for the source code. In this guide we will focus on Windows, so the library will be loaded as a DLL.
The API is split into two categories of functions:
1. Direct set / reset functions
2. Array functions
The first categories allow you to directly set and reset single keys. This can be used for simple applications like notifications. There is no need to keep track of the colors on the keyboard. It will just overwrite with set and go back to normal with reset. Look at the basic example to use the direct functions.
The second category is used for applications that want control of the full keyboard. In the SDK is a 2D array that keeps track of all the colors on the keyboard. See the below image for the layout:To change colors on the keyboard you manipulate this array with helpers functions and call the update keyboard function to send it to the keyboard. You can also choose to send a full array yourself if required. Look to the advanced examples for how to use the array functions.