mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 01:58:30 +00:00
Added missing Corsair channel device types
This commit is contained in:
parent
df52f6703c
commit
3e6068b090
@ -61,12 +61,14 @@ namespace RGB.NET.Devices.Corsair
|
|||||||
case CorsairChannelDeviceType.FanML:
|
case CorsairChannelDeviceType.FanML:
|
||||||
case CorsairChannelDeviceType.DAP:
|
case CorsairChannelDeviceType.DAP:
|
||||||
case CorsairChannelDeviceType.FanQL:
|
case CorsairChannelDeviceType.FanQL:
|
||||||
|
case CorsairChannelDeviceType.FanSPPRO:
|
||||||
return RGBDeviceType.Fan;
|
return RGBDeviceType.Fan;
|
||||||
|
|
||||||
case CorsairChannelDeviceType.Strip:
|
case CorsairChannelDeviceType.Strip:
|
||||||
return RGBDeviceType.LedStripe;
|
return RGBDeviceType.LedStripe;
|
||||||
|
|
||||||
case CorsairChannelDeviceType.Pump:
|
case CorsairChannelDeviceType.Pump:
|
||||||
|
case CorsairChannelDeviceType.WaterBlock:
|
||||||
return RGBDeviceType.Cooler;
|
return RGBDeviceType.Cooler;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@ -93,6 +95,12 @@ namespace RGB.NET.Devices.Corsair
|
|||||||
case CorsairChannelDeviceType.FanML:
|
case CorsairChannelDeviceType.FanML:
|
||||||
return "ML Fan";
|
return "ML Fan";
|
||||||
|
|
||||||
|
case CorsairChannelDeviceType.FanQL:
|
||||||
|
return "QL Fan";
|
||||||
|
|
||||||
|
case CorsairChannelDeviceType.FanSPPRO:
|
||||||
|
return "SP-PRO Fan";
|
||||||
|
|
||||||
case CorsairChannelDeviceType.Strip:
|
case CorsairChannelDeviceType.Strip:
|
||||||
// LS100 Led Strips are reported as one big strip if configured in monitor mode in iCUE, 138 LEDs for dual monitor, 84 for single
|
// LS100 Led Strips are reported as one big strip if configured in monitor mode in iCUE, 138 LEDs for dual monitor, 84 for single
|
||||||
if ((info.Model == "LS100 Starter Kit") && (channelDeviceInfo.deviceLedCount == 138))
|
if ((info.Model == "LS100 Starter Kit") && (channelDeviceInfo.deviceLedCount == 138))
|
||||||
@ -111,12 +119,12 @@ namespace RGB.NET.Devices.Corsair
|
|||||||
case CorsairChannelDeviceType.DAP:
|
case CorsairChannelDeviceType.DAP:
|
||||||
return "DAP Fan";
|
return "DAP Fan";
|
||||||
|
|
||||||
|
case CorsairChannelDeviceType.WaterBlock:
|
||||||
|
return "Water Block";
|
||||||
|
|
||||||
case CorsairChannelDeviceType.Pump:
|
case CorsairChannelDeviceType.Pump:
|
||||||
return "AIO Pump";
|
return "AIO Pump";
|
||||||
|
|
||||||
case CorsairChannelDeviceType.FanQL:
|
|
||||||
return "QL Fan";
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
throw new ArgumentOutOfRangeException(nameof(channelDeviceInfo.type), channelDeviceInfo.type, null);
|
throw new ArgumentOutOfRangeException(nameof(channelDeviceInfo.type), channelDeviceInfo.type, null);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -19,6 +19,8 @@ namespace RGB.NET.Devices.Corsair
|
|||||||
Strip = 5,
|
Strip = 5,
|
||||||
DAP = 6,
|
DAP = 6,
|
||||||
Pump = 7,
|
Pump = 7,
|
||||||
FanQL = 8
|
FanQL = 8,
|
||||||
|
WaterBlock = 9,
|
||||||
|
FanSPPRO = 10
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user