mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-03-06 22:19:45 +00:00
Fixed enumerating Steam Controllers on iOS
(cherry picked from commit dec0dbff13d4091035209016eb2d0dd82c9aba58)
This commit is contained in:
parent
c77aaa5d99
commit
b3e1fd97b8
|
@ -848,8 +848,8 @@ struct hid_device_info HID_API_EXPORT *hid_enumerate(unsigned short vendor_id,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ( vendor_id == 0 && product_id == 0 ) ||
|
if ( ( vendor_id == 0 || vendor_id == VALVE_USB_VID ) &&
|
||||||
( vendor_id == VALVE_USB_VID && product_id == D0G_BLE2_PID ) )
|
( product_id == 0 || product_id == D0G_BLE2_PID ) )
|
||||||
{
|
{
|
||||||
HIDBLEManager *bleManager = HIDBLEManager.sharedInstance;
|
HIDBLEManager *bleManager = HIDBLEManager.sharedInstance;
|
||||||
[bleManager updateConnectedSteamControllers:false];
|
[bleManager updateConnectedSteamControllers:false];
|
||||||
|
|
Loading…
Reference in a new issue