mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-07-12 22:31:50 -04:00
Rework RGBControllers and detectors that set string fields other than name outside of the RGBController
This commit is contained in:
@@ -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