mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 15:45:05 -04:00
Re-add interface check for Corsair driver when not using HID usages. Only set special function control for non-keyboards
This commit is contained in:
1 parent
009a6ccd2a
commit
bd4f3728f6
2 files changed
+5
-2
No files matched your search
@@ -134,7 +134,8 @@ void DetectCorsairPeripheralControllers(std::vector<RGBController*>& rgb_control
|
||||
&&(info->product_id == device_list[device_idx].usb_pid)
|
||||
&&(info->usage_page == 0xFFC2))
|
||||
#else
|
||||
&&(info->product_id == device_list[device_idx].usb_pid))
|
||||
&&(info->product_id == device_list[device_idx].usb_pid)
|
||||
&&(info->interface_number == device_list[device_idx].usb_interface))
|
||||
#endif
|
||||
{
|
||||
dev = hid_open_path(info->path);
|
||||
|
||||
Reference in new issue
Block a user