Use RegisterRGBController for standard detectors

This commit is contained in:
Adam Honse 2023-01-26 18:46:32 -06:00
parent 29d34f7768
commit 060567548f
24 changed files with 111 additions and 100 deletions

View file

@ -38,7 +38,7 @@ void DetectElgatoKeyLightControllers(std::vector<RGBController*> &rgb_controller
ElgatoKeyLightController* controller = new ElgatoKeyLightController(elgato_keylight_ip);
RGBController_ElgatoKeyLight* rgb_controller = new RGBController_ElgatoKeyLight(controller);
rgb_controllers.push_back(rgb_controller);
ResourceManager::get()->RegisterRGBController(rgb_controller);
}
}
}