mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-16 06:45:59 +00:00
Fixed Bluetooth Steam Controller detection on iOS and Android
This commit is contained in:
@@ -1038,6 +1038,10 @@ static bool HIDAPI_DriverSteam_IsSupportedDevice(SDL_HIDAPI_Device *device, cons
|
||||
return false;
|
||||
}
|
||||
|
||||
if (device->is_bluetooth) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (IsDongle(product_id)) {
|
||||
if (interface_number >= 1 && interface_number <= 4) {
|
||||
// This is one of the wireless controller interfaces
|
||||
|
Reference in New Issue
Block a user