View Single Post
  #1  
Old 07-29-2018, 11:48 PM
MichaelXF MichaelXF is offline
Registered User
MichaelXF's PC Specs
 
Join Date: Jul 2018
Posts: 6
POST ID # = 966152
MichaelXF Reputation: 10
Question Set color of Lighting Node Pro devices?

I currently have the following code:
Code:
colors[j].ledId = static_cast<CorsairLedId>(200+j);
which I later use to
Code:
if (CorsairSetLedsColorsBufferByDeviceIndex(i, leds, colors)) {
    std::cout << "Should be BLUE rgb(0,0,255)?";
} else {
    const CorsairError error = CorsairGetLastError();
    std::cout << "It didn't work see " << toString(error) << ";";
}
full code: https://hastebin.com/jazezuvemo.cpp

But it wont work, yes the SDK is fully initialized (hopefully), my guess is the CorsairLedId are wrong? There is little documentation of the ids, im guessing CLD_C1_1 = 200 is the "starting point"? Anyone know the ledIds for the Lighting Node Pro (preferably channel 1)?

Here is my output of the code: https://hastebin.com/olexesoyiz.cs
Reply With Quote