Corsair_Virtuoso_XT_Headset.js aktualisiert

This commit is contained in:
s-mendyka 2024-07-24 14:51:31 +02:00
parent b3eab62b96
commit c990b64f7a

View File

@ -157,7 +157,6 @@ function readDevice() {
device.set_endpoint(3, 0x0002, 0xFF42); device.set_endpoint(3, 0x0002, 0xFF42);
const packet = device.read([0x00], 16, 15); const packet = device.read([0x00], 16, 15);
console.log("TEST" + packet)
if(packet[0] == 0x03 && packet[1] == 0x01 && packet[2] == 0x01 && packet[3] == 0x10 && packet[4] == 0x00 && packet[5] == 0x02) { if(packet[0] == 0x03 && packet[1] == 0x01 && packet[2] == 0x01 && packet[3] == 0x10 && packet[4] == 0x00 && packet[5] == 0x02) {
setSoftwareMode(); setSoftwareMode();