The Corsair User Forums  

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

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-04-2017, 10:39 AM
ygolohcisp ygolohcisp is offline
Registered User
 
Join Date: Mar 2016
Posts: 27
POST ID # = 918928
ygolohcisp Reputation: 10
Default CorsairSetLedsColorsAsync returns true even when keyboard is disconnected

I'm trying to detect when my K95 is disconnected so I can automatically retry connecting it when it comes back.
The only function I'm using in my loop is `CorsairSetLedsColorsAsync` and I thought that it would return `false` when the keyboard is disconnected, but it always returns true, and even when I check `CorsairGetLastError()` after it (or ANYWHERE in my loop where no other CUE function is called) it returns `CE_Success`.

So how can I detect if the keyboard is disconnected?

(Btw, the non-async version of that function DOES return false when the keyboard is disconnected, but I want to use the Async variant.)
Reply With Quote
Reply

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 01:30 PM.


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