diff --git a/README.md b/README.md index d4285d9..44f418c 100644 --- a/README.md +++ b/README.md @@ -52,11 +52,13 @@ Create a new file in /etc/udev/rules.d/99-hyperx-cloud-II.rules with the followi ``` SUBSYSTEMS=="usb", ATTRS{idProduct}=="018b", ATTRS{idVendor}=="03f0", MODE="0666" +SUBSYSTEMS=="usb", ATTRS{idProduct}=="0696", ATTRS{idVendor}=="03f0", MODE="0666" SUBSYSTEMS=="usb", ATTRS{idProduct}=="1718", ATTRS{idVendor}=="0951", MODE="0666" SUBSYSTEMS=="usb", ATTRS{idProduct}=="0d93", ATTRS{idVendor}=="03f0", MODE="0666" KERNEL=="hidraw*", ATTRS{idProduct}=="0d93", ATTRS{idVendor}=="03f0", MODE="0666" KERNEL=="hidraw*", ATTRS{idProduct}=="018b", ATTRS{idVendor}=="03f0", MODE="0666" +KERNEL=="hidraw*", ATTRS{idProduct}=="0696", ATTRS{idVendor}=="03f0", MODE="0666" KERNEL=="hidraw*", ATTRS{idProduct}=="1718", ATTRS{idVendor}=="0951", MODE="0666" ``` @@ -100,4 +102,4 @@ Once you have set the filters, you can perform various actions and review the pa ## Other Projects -This project was inspired by [hyperx-cloud-flight](https://github.com/kondinskis/hyperx-cloud-flight). \ No newline at end of file +This project was inspired by [hyperx-cloud-flight](https://github.com/kondinskis/hyperx-cloud-flight). diff --git a/src/lib.rs b/src/lib.rs index 2e7f5c2..ff41290 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,7 @@ use thistermination::TerminationFull; // Possible vendor IDs [hyperx , HP] const VENDOR_IDS: [u16; 2] = [0x0951, 0x03F0]; // Possible Cloud II Wireless product IDs -const PRODUCT_IDS: [u16; 3] = [0x1718, 0x018B, 0x0D93]; +const PRODUCT_IDS: [u16; 4] = [0x1718, 0x018B, 0x0D93, 0x0696]; const BATTERY_LEVEL_INDEX: usize = 7; const CHARGING_PREAMBLE: [u8; 5] = [6, 255, 187, 2, 0]; @@ -145,4 +145,4 @@ impl Device { self.muted = None; self.mic_connected = None; } -} \ No newline at end of file +}