1
0
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:
jonilala796 2025-02-08 21:23:33 +01:00
parent 4e575e8d3d
commit 66843a21e5

View File

@ -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;
} }