Add workaround for LX Fans with invalid ChannelDeviceType

This commit is contained in:
jonilala796 committed 2025-02-08 21:23:33 +01:00
1 parent 4e575e8d3d
commit 66843a21e5
1 file changed
+8
@@ -310,6 +310,14 @@ public sealed class CorsairDeviceProvider : AbstractRGBDeviceProvider
break;
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"));
break;
}