Remove WIN32 check around Razer ARGB detector, it is needed in Linux too
This commit is contained in:
parent
1817d3ac4a
commit
e20f7f3a44
1 changed files with 0 additions and 4 deletions
|
|
@ -81,7 +81,6 @@ void DetectRazerARGBControllers(hid_device_info* info, const std::string& name)
|
|||
| Razer's ARGB controller uses two different interfaces, one for 90-byte Razer report packets and |
|
||||
| one for 320-byte ARGB packets. Interface 0 for 90-byte and interface 1 for 320-byte. |
|
||||
\*-------------------------------------------------------------------------------------------------*/
|
||||
#ifdef _WIN32
|
||||
hid_device* dev_interface_0 = nullptr;
|
||||
hid_device* dev_interface_1 = nullptr;
|
||||
hid_device_info* info_temp = info;
|
||||
|
|
@ -117,9 +116,6 @@ void DetectRazerARGBControllers(hid_device_info* info, const std::string& name)
|
|||
hid_close(dev_interface_0);
|
||||
hid_close(dev_interface_1);
|
||||
}
|
||||
#else
|
||||
DetectRazerControllers(info, name);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------------------------------------------------------*\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue