move call of SetupZone from class constuctor to load function
This commit is contained in:
parent
813069a359
commit
59752dce98
2 changed files with 1 additions and 2 deletions
|
|
@ -57,6 +57,7 @@ void DetectDasKeyboardControllers(hid_device_info *info_in, const std::string &n
|
|||
else
|
||||
{
|
||||
RGBController_DasKeyboard *rgb_controller = new RGBController_DasKeyboard(controller);
|
||||
rgb_controller->SetupZones();
|
||||
rgb_controller->name = name;
|
||||
|
||||
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue