Jump to content
Corsair Community

CorsairSetLedsColorsAsync returns true even when keyboard is disconnected


ygolohcisp

Recommended Posts

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.)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...