fix improper detecting of usb haptic device

This commit is contained in:
Paul Dino Jones
2025-02-19 17:15:47 -05:00
parent 1945a0e892
commit e331938a9e
-6
View File
@@ -105,11 +105,5 @@ int usbhapticdev_init(USBGenericHapticDevice* usbhapticdevice, DeviceSettings* d
slogw("Possibly unknown device");
}
if(usbhapticdevice->handle == 0)
{
error = MONOCOQUE_ERROR_INVALID_DEV;
return error;
}
return error;
}