Skip to content

Feat: Add NZXT RGB & Fan Controller V2 and Smart Device V2 (USB PID 0x2019)#81

Open
rnoro wants to merge 1 commit intolich426:masterfrom
rnoro:master
Open

Feat: Add NZXT RGB & Fan Controller V2 and Smart Device V2 (USB PID 0x2019)#81
rnoro wants to merge 1 commit intolich426:masterfrom
rnoro:master

Conversation

@rnoro
Copy link

@rnoro rnoro commented May 30, 2025

Summary

Adds support for NZXT V2 controllers by implementing dynamic product ID detection instead of hardcoded V1-only support.

Fixes #80

Supported devices:

  • ✅ RGB & Fan Controller V1 (0x2009) - existing support maintained
  • ✅ RGB & Fan Controller V2 (0x2019) - newly supported
  • ✅ Smart Device V2 (0x2019) - newly supported

Changes

  • USBController.cs: Added RGBAndFanControllerV2 = 0x2019 enum value with comment "V2 / Smart Device V2"
  • HardwareManager.cs: Updated device enumeration to support both V1 and V2 product IDs using array-based detection
  • RGBnFC.cs: Modified constructor to accept dynamic productID parameter instead of hardcoded V1 ID

Implementation Details

  • Replaced hardcoded USBProductID.RGBAndFanController with dynamic productID parameter
  • Added supportedProductIDs array containing both V1 and V2 device IDs
  • Maintained backward compatibility - existing V1 devices continue working unchanged

Files changed: 3 files
Breaking changes: None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant