mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-11 22:42:31 +02:00
Improved HIDAPI support for Flydigi controllers
This commit is contained in:
@@ -1109,7 +1109,7 @@ bool SDL_HIDAPI_ShouldIgnoreDevice(int bus, Uint16 vendor_id, Uint16 product_id,
|
||||
(usage == USB_USAGE_GENERIC_KEYBOARD || usage == USB_USAGE_GENERIC_MOUSE)) {
|
||||
return true;
|
||||
}
|
||||
} else if (vendor_id == USB_VENDOR_FLYDIGI && product_id == USB_PRODUCT_FLYDIGI_VADER4_PRO) {
|
||||
} else if (vendor_id == USB_VENDOR_FLYDIGI && product_id == USB_PRODUCT_FLYDIGI_GAMEPAD) {
|
||||
if (usage_page == USB_USAGEPAGE_VENDOR_FLYDIGI) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user