mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-12 17:48:31 +00:00
Add workaround for LX Fans with invalid ChannelDeviceType
This commit is contained in:
parent
4e575e8d3d
commit
66843a21e5
@ -310,6 +310,14 @@ public sealed class CorsairDeviceProvider : AbstractRGBDeviceProvider
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
||||||
|
//Workaround to support LX Fans because they have an invalid ChannelDeviceType
|
||||||
|
if ((device.model == "iCUE LINK System Hub") && (ledCount == 18))
|
||||||
|
{
|
||||||
|
yield return new CorsairFanRGBDevice(new CorsairFanRGBDeviceInfo(device, ledCount, offset, "LX Fan"), updateQueue);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
Throw(new RGBDeviceException("Unknown Device-Type"));
|
Throw(new RGBDeviceException("Unknown Device-Type"));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user