Added SDL_hid_ble_scan() for pairing Steam Controllers on iOS and tvOS

This commit is contained in:
Sam Lantinga
2021-11-11 17:31:14 -08:00
parent abc12a832c
commit 9c3bcf8e8a
6 changed files with 23 additions and 1 deletions

View File

@@ -743,7 +743,7 @@ int HID_API_EXPORT HID_API_CALL hid_exit(void)
return 0;
}
void HID_API_EXPORT HID_API_CALL hid_ble_scan( bool bStart )
void HID_API_EXPORT HID_API_CALL hid_ble_scan( int bStart )
{
HIDBLEManager *bleManager = HIDBLEManager.sharedInstance;
if ( bStart )