mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-23 09:16:11 +00:00
Added support for g910 spectrum
This commit is contained in:
parent
985c4bfe69
commit
bcccdae449
@ -33,6 +33,11 @@ bool Keyboard::attach() {
|
||||
kbdProtocol = KeyboardProtocol::spark;
|
||||
break;
|
||||
}
|
||||
if (desc.idProduct == 0xc335) {
|
||||
pid = desc.idProduct;
|
||||
kbdProtocol = KeyboardProtocol::spark;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
libusb_free_device_list(devs, 1);
|
||||
|
@ -3,3 +3,4 @@ ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c3
|
||||
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c330", MODE="660", GROUP="users"
|
||||
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c333", MODE="660", GROUP="users"
|
||||
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c32b", MODE="660", GROUP="users"
|
||||
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c335", MODE="660", GROUP="users"
|
||||
|
Loading…
Reference in New Issue
Block a user