Detection progress SDK integration, NetworkClient callback rework

This commit is contained in:
Adam Honse committed 2026-05-07 17:24:45 -05:00
1 parent ad364871c6
commit f6f317d487
8 files changed
+324 -76

No files matched your search

+6 -1
View File
@@ -611,7 +611,10 @@ void DetectionManager::BackgroundDetectDevices()
{
if(initial_detection_delay_ms != 0)
{
LOG_INFO("[ResourceManager] Delaying detection for %d ms", initial_detection_delay_ms);
detection_string = "Waiting for detection delay";
SignalUpdate(DETECTIONMANAGER_UPDATE_REASON_DETECTION_PROGRESS_CHANGED);
LOG_INFO("[%s] Delaying detection for %d ms", DETECTIONMANAGER, initial_detection_delay_ms);
std::this_thread::sleep_for(initial_detection_delay_ms * 1ms);
}
@@ -1371,6 +1374,8 @@ void DetectionManager::ProcessCleanup()
{
WaitForDetection();
SignalUpdate(DETECTIONMANAGER_UPDATE_REASON_RGBCONTROLLER_LIST_CLEARED);
/*-----------------------------------------------------*\
| Make a copy of the list so that the controllers can |
| be deleted after the list is cleared |