mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-07 15:37:33 -04:00
Store name in MSIVigorController to avoid setting it in detector
This commit is contained in:
@@ -29,9 +29,8 @@ void DetectMSIVigorGK30Controllers(hid_device_info* info, const std::string& nam
|
||||
|
||||
if(dev)
|
||||
{
|
||||
MSIVigorGK30Controller* controller = new MSIVigorGK30Controller(dev, *info);
|
||||
MSIVigorGK30Controller* controller = new MSIVigorGK30Controller(dev, *info, name);
|
||||
RGBController_MSIVigorGK30* rgb_controller = new RGBController_MSIVigorGK30(controller);
|
||||
rgb_controller->name = name;
|
||||
|
||||
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user