Rework RGBControllers and detectors that set string fields other than name outside of the RGBController

This commit is contained in:
Adam Honse 2025-07-31 18:36:06 -05:00
parent 6a472437bb
commit abd34f1810
15 changed files with 40 additions and 27 deletions

View file

@ -82,10 +82,6 @@ void DetectSpectrixS40GControllers()
ENESMBusController* controller = new ENESMBusController(interface, 0x67);
RGBController_ENESMBus* rgb_controller = new RGBController_ENESMBus(controller);
rgb_controller->name = "XPG Spectrix S40G";
rgb_controller->type = DEVICE_TYPE_STORAGE;
rgb_controller->vendor = "XPG";
ResourceManager::get()->RegisterRGBController(rgb_controller);
}
}