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)
-   -   Access to battery level? (https://forum.corsair.com/forums/showthread.php?t=185814)

needmacsupport 02-28-2019 10:24 AM

Access to battery level?
 
Hi folks,
I'm a budding developer and had a look at the
CUE SDK - Overview and Reference.pdf

I can't find a variable for battery level.

Is there a way to access battery level? One thing that drives me nuts is having to open iCUE (slow) and slick settings..and then visually search for the information.

Would love to write an application for PC that just shows me this critical info immediately!

Macca_Cool 03-03-2019 02:53 AM

Ha ha, ikr dude. There have been a number of threads about this, no responses from Corsair. I've tried personally with reading the value from memory, didn't go well. Good luck with any attempts to find it without Corsair's help.

MrSlimbrowser 05-17-2019 04:07 AM

I tried reading the values from iCUEs memory as well, works for me. Tried it with a Void Pro on Windows 10 Pro x64 with Corsair iCUE v3.15.101.
You can try it out if you want to: https://github.com/MrSlimbrowser/ReadBatteryLevel

Macca_Cool 05-18-2019 12:23 AM

Sick dude, I'll give it a go soon. I tried something similar but the addresses I used changed on restart. So are those default addresses constant, as in no need to find them again on restart?

MrSlimbrowser 05-18-2019 05:35 AM

Assuming you did the neccessary pointerscans and found a suitable pointer, only the base address needs to be calculated. My tool uses MakeMEK's Threadstack Finder to do that automatically.
The program will default to the offsets I used by the way. I can imagine those work for you too as long as you use the same version of iCUE I used. So just start it up and give it a try ;)


All times are GMT -4. The time now is 07:06 PM.

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