mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-08 18:29:43 +00:00
Only skip the Flydigi driver when checking to see if a device is handled by HIDAPI
(cherry picked from commit cf6a235a41)
This commit is contained in:
@@ -1332,7 +1332,7 @@ bool HIDAPI_IsDevicePresent(Uint16 vendor_id, Uint16 product_id, Uint16 version,
|
||||
// changes when that happens, we'll pretend the driver isn't available so the XInput
|
||||
// interface will always show up (but won't have any input when the controller is in
|
||||
// enhanced mode)
|
||||
if (device->vendor_id == USB_VENDOR_FLYDIGI_V2) {
|
||||
if (device->vendor_id == USB_VENDOR_FLYDIGI_V2 && device->driver == &SDL_HIDAPI_DriverFlydigi) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user