mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-23 09:16:11 +00:00
Merge pull request #18 from dkolosa/g910_spectrum
Added support for g910 spectrum Thank you @dkolosa
This commit is contained in:
commit
d7507c206f
@ -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