Removed hid_get_device_info() function to correct CI/CD pipelines

* Regression introduced in dbeabe61
* Removed unrequired includes
* Aligned other variables and structures to ensure feature parity
This commit is contained in:
Chris M
2023-11-09 19:27:50 +11:00
parent 44610cf326
commit a689db4d3d
4 changed files with 6 additions and 13 deletions

View File

@@ -233,6 +233,7 @@ void DetectLianLiGAIITrinity(hid_device_info* info, const std::string& /*name*/)
{
LianLiGAIITrinityController* controller = new LianLiGAIITrinityController(dev);
RGBController_LianLiGAIITrinity* rgb_controller = new RGBController_LianLiGAIITrinity(controller);
rgb_controller->location = "HID: " + std::string(info->path);
ResourceManager::get()->RegisterRGBController(rgb_controller);
}
}