Skip to content

Commit

Permalink
🔨 Whitelist a few more Kraken devices in the driver.
Browse files Browse the repository at this point in the history
  • Loading branch information
hexawyz committed Jan 11, 2025
1 parent 4701c7b commit d05fdc1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Exo/Devices/Exo.Devices.Nzxt.Kraken/KrakenDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,14 @@ public class KrakenDriver :

private static readonly ImmutableArray<byte> DefaultControlCurveInputValues = [20, 25, 30, 35, 40, 45, 50, 55, 59];

private static readonly ImmutableArray<Guid> InputSensors = [LiquidTemperatureSensorId];

private const int NzxtVendorId = 0x1E71;

[DiscoverySubsystem<HidDiscoverySubsystem>]
[DeviceInterfaceClass(DeviceInterfaceClass.Hid)]
[ProductId(VendorIdSource.Usb, NzxtVendorId, 0x3008)]
[ProductId(VendorIdSource.Usb, NzxtVendorId, 0x3008)] // Kraken Z
[ProductId(VendorIdSource.Usb, NzxtVendorId, 0x300C)] // Kraken Elite (2023)
//[ProductId(VendorIdSource.Usb, NzxtVendorId, 0x300E)] // Kraken (2023)
[ProductId(VendorIdSource.Usb, NzxtVendorId, 0x3012)] // Kraken Elite RGB (2024)
public static async ValueTask<DriverCreationResult<SystemDevicePath>?> CreateAsync
(
ILogger<KrakenDriver> logger,
Expand Down

0 comments on commit d05fdc1

Please sign in to comment.