The Corsair User Forums  

Go Back   The Corsair User Forums > Corsair Product Discussion > Corsair Utility Engine (CUE) 1.x and 2.x > CUE 1.x and 2.x SDK

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 03-03-2016, 06:15 PM
Corsair James's Avatar
Corsair James Corsair James is offline
iCUE Product Manager
 
Join Date: Oct 2013
Location: Fremont, CA
Posts: 4,370
POST ID # = 840510
Corsair James Reputation: 71
Default SDK Updated (v1.15.28)

Hi all,

The CUE SDK has been updated to version 1.15.28. This version supports a new protocol to match the CUE updates.

I have attached it here as well as the website downloads (which will go live soon).

Thanks!
Attached Files
File Type: zip Corsair-SDK-Release-v1.15.28.zip (732.2 KB, 4570 views)
__________________

iCUE - A CORSAIR Interface
https://www.corsair.com/us/en/icue
  #2  
Old 03-04-2016, 07:07 AM
Darth Affe's Avatar
Darth Affe Darth Affe is offline
//TODO add user title
Darth Affe's PC Specs
 
Join Date: Sep 2015
Location: UTC+1
Posts: 127
POST ID # = 840572
Darth Affe Reputation: 15
Default

Hey James,

nice to see that the SDK evolves further.

I've just read through the new reference pdf and the only change I recognized is the new ReleaseControl-Function.
Is it safe to assume, that the new binary is a completely backward-compatible drop-in replacement for existing projects?
  #3  
Old 03-10-2016, 03:26 PM
Corsair James's Avatar
Corsair James Corsair James is offline
iCUE Product Manager
 
Join Date: Oct 2013
Location: Fremont, CA
Posts: 4,370
POST ID # = 841699
Corsair James Reputation: 71
Default

Hi Darth, let me follow up on that for you as I don't actually have the full details.
__________________

iCUE - A CORSAIR Interface
https://www.corsair.com/us/en/icue
  #4  
Old 03-11-2016, 08:01 PM
Corsair James's Avatar
Corsair James Corsair James is offline
iCUE Product Manager
 
Join Date: Oct 2013
Location: Fremont, CA
Posts: 4,370
POST ID # = 841996
Corsair James Reputation: 71
Default

Confirmed, it is backwards compatible.
__________________

iCUE - A CORSAIR Interface
https://www.corsair.com/us/en/icue
  #5  
Old 03-12-2016, 04:15 AM
Darth Affe's Avatar
Darth Affe Darth Affe is offline
//TODO add user title
Darth Affe's PC Specs
 
Join Date: Sep 2015
Location: UTC+1
Posts: 127
POST ID # = 842035
Darth Affe Reputation: 15
Default

Ok, thank you :)
  #6  
Old 07-17-2016, 05:05 AM
amatom amatom is offline
Registered User
 
Join Date: Jul 2016
Posts: 2
POST ID # = 862765
amatom Reputation: 10
Default

Does this version support K70 RGB RAPIDFIRE keyboard?
  #7  
Old 08-11-2016, 04:53 PM
Corsair James's Avatar
Corsair James Corsair James is offline
iCUE Product Manager
 
Join Date: Oct 2013
Location: Fremont, CA
Posts: 4,370
POST ID # = 866750
Corsair James Reputation: 71
Default

SDK supports all of our RGB hardware.
__________________

iCUE - A CORSAIR Interface
https://www.corsair.com/us/en/icue
  #8  
Old 09-06-2016, 01:35 PM
trajano trajano is offline
Registered User
 
Join Date: May 2015
Posts: 8
POST ID # = 870391
trajano Reputation: 10
Default

Does CorsairSetLedsColorsAsync mutate the ledColors array and the size? If not it should really be prefixed "const"
  #9  
Old 10-11-2016, 07:20 PM
Red Korvo Red Korvo is offline
Registered User
 
Join Date: Dec 2015
Posts: 11
POST ID # = 875085
Red Korvo Reputation: 10
Default

I'm looking to get into the SDK. Will the current version work with the current version of CUE 2.0? Is there a quick start guide to setting it up? I know the basics of APIs and programming but I'm not sure how to set up this api or use it. Is there even documentation?

EDIT: The downloads section on the Corsair site has much newer versions of the SDK. Also, can the SDK do anything with the mice?

Last edited by Red Korvo; 10-11-2016 at 11:48 PM.
  #10  
Old 10-22-2016, 03:38 AM
mubeen_d mubeen_d is offline
Registered User
 
Join Date: Oct 2016
Posts: 2
POST ID # = 876402
mubeen_d Reputation: 10
Default BUG FOUND: Setting Lighting to value 0

Hi everyone.

I am not sure if this is a bug or not, but when setting the lighting value to 0 for RGB using a Corsair k70 keyboard, the lighting effect is a very faint gray rather than turning off the backlight.

The API call in question is this:
std::vector<CorsairLedColor> ledColorsVec; // vector filled with key layout

for (auto &ledColor : ledColorsVec)
{
ledColor.r = ledColor.g = ledColor.b = 0;
CorsairSetLedsColorsAsync(ledColorsVec.size(), ledColorsVec.data(), nullptr, nullptr);

}

Using: CUESDK.x64_2013 (Version 1.15.28)
  #11  
Old 11-20-2016, 04:56 AM
CalcProgrammer1 CalcProgrammer1 is offline
Registered User
CalcProgrammer1's PC Specs
 
Join Date: Oct 2014
Posts: 119
POST ID # = 879549
CalcProgrammer1 Reputation: 20
Default

I have a request if you could consider it for a future revision of the SDK. Would it be possible to make it fail passively if the CUESDK_2013.dll is not present on the system? If we are writing apps that target multiple RGB products (across multiple manufacturers) not all users are going to have a Corsair device or CUE installed. I do not wish to distribute a DLL file for every different manufacturer's devices, but if I compile my program with CUE SDK and try to open it without CUESDK_2013.dll present, I get the error:

"The program can't start because CUESDK_2013.dll is missing from your computer. Try reinstalling the program to fix this problem."

There's no way to catch and handle this exception, as it's thrown by the OS before even launching my application. DLLs are meant to be dynamically loaded and thus gracefully error-handled, not force crash your program if they aren't available.
  #12  
Old 11-22-2016, 05:52 PM
Yannicked's Avatar
Yannicked Yannicked is offline
Registered User
Yannicked's PC Specs
 
Join Date: Dec 2015
Location: Holland
Posts: 20
POST ID # = 879880
Yannicked Reputation: 10
Default

Quote:
Originally Posted by CalcProgrammer1 View Post
I have a request if you could consider it for a future revision of the SDK. Would it be possible to make it fail passively if the CUESDK_2013.dll is not present on the system? If we are writing apps that target multiple RGB products (across multiple manufacturers) not all users are going to have a Corsair device or CUE installed. I do not wish to distribute a DLL file for every different manufacturer's devices, but if I compile my program with CUE SDK and try to open it without CUESDK_2013.dll present, I get the error:

"The program can't start because CUESDK_2013.dll is missing from your computer. Try reinstalling the program to fix this problem."

There's no way to catch and handle this exception, as it's thrown by the OS before even launching my application. DLLs are meant to be dynamically loaded and thus gracefully error-handled, not force crash your program if they aren't available.
As you're saying, this isn't a problem with the sdk. It's a "Feature" of windows. Windows throws an error because you built the sdk in your program using load-time linking. You should look into run-time linking.
  #13  
Old 12-02-2016, 10:03 AM
Proddy3 Proddy3 is offline
Registered User
 
Join Date: Dec 2016
Posts: 4
POST ID # = 881011
Proddy3 Reputation: 10
Default

After setting a key colour, can you pass it back to CUE at all?
  #14  
Old 01-10-2017, 09:51 AM
CupraDine CupraDine is offline
Registered User
CupraDine's PC Specs
 
Join Date: Dec 2016
Posts: 2
POST ID # = 886026
CupraDine Reputation: 10
Default

Was looking into this for a custom taskbar icon, but it can't do it.

Can the ability to see the charge and charging state of wireless peripherals be added to the SDK?? This is shown only in CUE currently.
  #15  
Old 02-22-2017, 02:34 PM
MartPwnS MartPwnS is offline
Registered User
 
Join Date: Jun 2016
Posts: 7
POST ID # = 892318
MartPwnS Reputation: 10
Default

When does the SDK get support for the MM800 Polaris RGB ?

I would like to include it in my razer=>cue project.
(https://github.com/MartB/RETC)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:39 PM.


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