Use HID path for Location on Corsair Peripheral controller

This commit is contained in:
Adam Honse
2020-10-03 17:12:27 -05:00
parent c8da008b93
commit 1618de46b9
4 changed files with 13 additions and 4 deletions

View File

@@ -147,7 +147,7 @@ void DetectCorsairPeripheralControllers(std::vector<RGBController*>& rgb_control
if( dev )
{
CorsairPeripheralController* controller = new CorsairPeripheralController(dev);
CorsairPeripheralController* controller = new CorsairPeripheralController(dev, info->path);
if(controller->GetDeviceType() != DEVICE_TYPE_UNKNOWN)
{