diff --git a/Corsair_Virtuoso_XT_Headset.js b/Corsair_Virtuoso_XT_Headset.js index 85df4d5..3b50337 100644 --- a/Corsair_Virtuoso_XT_Headset.js +++ b/Corsair_Virtuoso_XT_Headset.js @@ -157,7 +157,8 @@ function readDevice() { device.set_endpoint(3, 0x0002, 0xFF42); const packet = device.read([0x00], 16, 15); - console.log(packet); + console.log("TEST" + packet) + if(packet[0] == 0x03 && packet[1] == 0x01 && packet[2] == 0x01 && packet[3] == 0x10 && packet[4] == 0x00 && packet[5] == 0x02) { setSoftwareMode(); }