Maintain a list of created virtual controllers in the OpenRGBPluginAPI object and only allow registering virtual controllers that exist in this list

This commit is contained in:
Adam Honse committed 2026-07-11 14:20:38 -05:00
1 parent ba33ff0c35
commit a0cee2ce2b
2 files changed
+34

No files matched your search

+1
View File
@@ -67,6 +67,7 @@ public:
/*-----------------------------------------------------*\
| RGBControllers registered by plugin |
\*-----------------------------------------------------*/
std::vector<RGBController*> created_controllers;
std::vector<RGBController*> rgb_controllers;
private: