mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-01-30 09:51:09 -05:00
Split out detection system from ResourceManager into DetectionManager
* Split detection system out into its own class, DetectionManager
* Clean up ResourceManger's many callbacks into just two, one for detection and one general purpose
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include <dirent.h>
|
||||
#include <string.h>
|
||||
#include "RGBController_Faustus_Linux.h"
|
||||
#include "Detector.h"
|
||||
#include "DetectionManager.h"
|
||||
|
||||
/**------------------------------------------------------------------*\
|
||||
@name ASUS TUF Keyboard (Faustus)
|
||||
@@ -190,7 +190,7 @@ void DetectFaustusControllers()
|
||||
return;
|
||||
}
|
||||
|
||||
ResourceManager::get()->RegisterRGBController(new RGBController_Faustus(base_path));
|
||||
DetectionManager::get()->RegisterRGBController(new RGBController_Faustus(base_path));
|
||||
} /* DetectFaustusControllers() */
|
||||
|
||||
REGISTER_DETECTOR("Faustus", DetectFaustusControllers);
|
||||
|
||||
Reference in New Issue
Block a user