mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-09-14 22:27:56 -04:00
Store name in MSIVigorController to avoid setting it in detector
This commit is contained in:
1 parent
82cb9fb7d0
commit
f420e9bbbe
4 files changed
+17
-18
No files matched your search
@@ -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