The Corsair User Forums

The Corsair User Forums (https://forum.corsair.com/forums/index.php)
-   iCUE SDK (https://forum.corsair.com/forums/forumdisplay.php?f=300)
-   -   Set color of Lighting Node Pro devices? (https://forum.corsair.com/forums/showthread.php?t=179872)

MichaelXF 07-29-2018 11:48 PM

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

MichaelXF 07-30-2018 12:28 AM

I should've given the documentation a closer look! I needed a
Code:

CorsairSetLedsColorsFlushBuffer();
after the CorsairSetLedsColorsBufferByDeviceIndex.......

drcmclow 08-05-2018 01:27 AM

hey i saw u playin around with the node pro...

check this out... https://discordapp.com/channels/3661...63308941934594

there are some ppl who made ambilight for it...


All times are GMT -4. The time now is 04:23 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.