Remove name comment from AsusAuraCoreControllerDDetect
This commit is contained in:
parent
b9a8a62e38
commit
0665ded648
1 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ void DetectAsusAuraCoreControllers(hid_device_info* info, const std::string& /*n
|
||||||
{
|
{
|
||||||
AuraCoreController* controller = new AuraCoreController(dev, info->path);
|
AuraCoreController* controller = new AuraCoreController(dev, info->path);
|
||||||
RGBController_AuraCore* rgb_controller = new RGBController_AuraCore(controller);
|
RGBController_AuraCore* rgb_controller = new RGBController_AuraCore(controller);
|
||||||
// Constructor sets the name
|
|
||||||
if(rgb_controller->type != DEVICE_TYPE_UNKNOWN)
|
if(rgb_controller->type != DEVICE_TYPE_UNKNOWN)
|
||||||
{
|
{
|
||||||
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
||||||
|
|
@ -55,7 +55,7 @@ void DetectAsusAuraCoreLaptopControllers(hid_device_info* info, const std::strin
|
||||||
{
|
{
|
||||||
AsusAuraCoreLaptopController* controller = new AsusAuraCoreLaptopController(dev, info->path);
|
AsusAuraCoreLaptopController* controller = new AsusAuraCoreLaptopController(dev, info->path);
|
||||||
RGBController_AsusAuraCoreLaptop* rgb_controller = new RGBController_AsusAuraCoreLaptop(controller);
|
RGBController_AsusAuraCoreLaptop* rgb_controller = new RGBController_AsusAuraCoreLaptop(controller);
|
||||||
// Constructor sets the name
|
|
||||||
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue