Search the Community
Showing results for tags 'companion'.
-
Hi Zusammen hier im Forum fand ich derzeit nichts, daher dachte ich wir können ja hiermit ein Sammel-Thread beginnen. ( @Corsair Marcus falls dies so nicht gewünscht wird, bitte kurze Info und Thread schließen 😉) Hatte Gestern mein Nexus - Display bekommen. Leider außer dem Standard-Download von Corsair, fand ich derzeit zum Downloaden nur recht wenige Screens bei Reddit. Hab nun mal angefangen etwas an den Screens rumzubasteln. Derzeit noch nichts besonderes, aber zu minderst hab ich mal einen Anfang. 😉 Diese könnt ihr unter folgendem Link downloaden : https://drive.google.com/file/d/18cNm4S1MqS3QqvP72EA4i1cynmeC3PNk/view?usp=share_link Habt ihr auch erstellte Screens die ihr mit uns/mir teilen wollt ? Kann man eigentlich Widgets auch selbst irgendwie erstellen ? So würde ich zusätzliche Widgets z.B. auch für die K100RGB-Tastatur oder für jede Menge andere Hardware interessant finden. Beste Grüße
- 1 reply
-
- 1
-
-
- icue nexus companion-touchscreen
- nexus
- (and 5 more)
-
Hi there! Just a quick feature request here: It would be great, if you added a RAM usage widget. I don't know, if this software is written in C++ or anything else, but you could use this to get the values and create a widget just like the cpu percentage widget. It might even help you in the quest of the search for the cpu usage problems in the icue software. Just create an instance of the object below and call the needed functions as few times as possible to save clock cycles. // system_stats.h #pragma once #include "TCHAR.h" #include "pdh.h" #include "windows.h" class SystemStats { public: SystemStats(); int currentCpuUsage(); int currentRamUsageInPercent(); int freeMemoryInPercent(); private: PDH_HQUERY cpuQuery; PDH_HCOUNTER cpuTotal; }; // system_stats.cpp #include "system_stats.h" SystemStats::SystemStats() { PdhOpenQuery(NULL, NULL, &cpuQuery); PdhAddEnglishCounter(cpuQuery, L"\\Processor(_Total)\\% Processor Time", NULL, &cpuTotal); PdhCollectQueryData(cpuQuery); } int SystemStats::currentCpuUsage() { PDH_FMT_COUNTERVALUE counterVal; PdhCollectQueryData(cpuQuery); PdhGetFormattedCounterValue(cpuTotal, PDH_FMT_DOUBLE, NULL, &counterVal); return (int)counterVal.doubleValue; } int SystemStats::currentRamUsageInPercent() { MEMORYSTATUSEX memInfo; memInfo.dwLength = sizeof(MEMORYSTATUSEX); GlobalMemoryStatusEx(&memInfo); return memInfo.dwMemoryLoad; } int SystemStats::freeMemoryInPercent() { return 100 - currentRamUsageInPercent(); }