Store name in DreamCheekyController to avoid setting it in detector

This commit is contained in:
Adam Honse committed 2025-08-06 11:31:48 -05:00
1 parent 13e8f70438
commit e6190ec275
4 files changed
+12 -5

No files matched your search

@@ -29,9 +29,8 @@ void DetectDreamCheekyControllers(hid_device_info* info, const std::string& name
if(dev)
{
DreamCheekyController* controller = new DreamCheekyController(dev, info->path);
DreamCheekyController* controller = new DreamCheekyController(dev, info->path, name);
RGBController_DreamCheeky* rgb_controller = new RGBController_DreamCheeky(controller);
rgb_controller->name = name;
ResourceManager::get()->RegisterRGBController(rgb_controller);
}