formatting and whitespace fix for the recent pull request merge

pull/20/head
John Tsiombikas 2019-12-22 00:35:48 +02:00
rodzic e1de3389a6
commit 8acf883d97
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -265,10 +265,12 @@ static int match_usbdev(const struct usb_device_info *devinfo)
/* match any device with the new 3Dconnexion device id */
if(vid == VENDOR_3DCONNEXION) {
if (devinfo->productid == 0xc652 && strstr(devinfo->name, "Universal Receiver Mouse")) {
/* avoid matching and trying to grab the CAD mouse, when connected
* on the same universal receiver as the spacemouse.
*/
if(pid == 0xc652 && strstr(devinfo->name, "Universal Receiver Mouse")) {
return 0;
}
return 1;
}