From ed1d855865315d8156014db9335a61451f421535 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 14 Apr 2020 07:41:00 -0700 Subject: [PATCH] Fixed bug 4299 - A recent change requires Core Bluetooth framework on iOS Caleb Cornett Just ran into this, and from my testing, whatever re-added the dependency is a _major_ regression. Not only is your app forced to link with CoreBluetooth, but iOS has apparently tightened up security and won't even let you _test_ your app unless it specifies the NSBluetoothAlwaysUsageDescription in an Info.plist. It doesn't even pop up an error message, it just straight up crashes. Adding the permission isn't a good solution either, since I'd really, really rather not have my app request users' bluetooth to always be enabled, especially if the only apparent reason is for Steam Controller support. --- include/SDL_config_iphoneos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_config_iphoneos.h b/include/SDL_config_iphoneos.h index f3b74a63717fd..e9cf01717644e 100644 --- a/include/SDL_config_iphoneos.h +++ b/include/SDL_config_iphoneos.h @@ -137,7 +137,7 @@ #define SDL_HAPTIC_DUMMY 1 /* Enable MFi joystick support */ -#define SDL_JOYSTICK_HIDAPI 1 +/*#define SDL_JOYSTICK_HIDAPI 1*/ #define SDL_JOYSTICK_MFI 1 #define SDL_JOYSTICK_VIRTUAL 1