Corsair_Virtuoso_XT_Headset.js aktualisiert

This commit is contained in:
s-mendyka 2024-07-24 14:48:30 +02:00
parent 18cc0bbde6
commit b3eab62b96

View File

@ -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();
}