mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-23 17:08:58 -04:00
Rework RGBControllers and detectors that set string fields other than name outside of the RGBController
This commit is contained in:
1 parent
6a472437bb
commit
abd34f1810
15 files changed
+40
-27
No files matched your search
@@ -198,7 +198,7 @@ void DetectPhilipsHueControllers()
|
||||
{
|
||||
for(unsigned int controller_idx = 0; controller_idx < ResourceManager::get()->GetRGBControllers().size(); controller_idx++)
|
||||
{
|
||||
if(ResourceManager::get()->GetRGBControllers()[controller_idx]->description == "Philips Hue Entertainment Mode Device")
|
||||
if(ResourceManager::get()->GetRGBControllers()[controller_idx]->GetDescription() == "Philips Hue Entertainment Mode Device")
|
||||
{
|
||||
ResourceManager::get()->GetRGBControllers()[controller_idx]->SetMode(0);
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user