README-ios: added a note about enabling hidapi.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 29 Oct 2018 15:51:38 -0400
changeset 123689bb50edccc46
parent 12366 c46e72bd9950
child 12369 68c87b40b434
README-ios: added a note about enabling hidapi.
docs/README-ios.md
     1.1 --- a/docs/README-ios.md	Sun Oct 28 21:36:48 2018 +0100
     1.2 +++ b/docs/README-ios.md	Mon Oct 29 15:51:38 2018 -0400
     1.3 @@ -229,6 +229,22 @@
     1.4  	This is disabled by default since it seems to break the terms of the iOS SDK agreement for iOS versions prior to iOS 8. It can be re-enabled in SDL_config_iphoneos.h.
     1.5  
     1.6  ==============================================================================
     1.7 +Notes -- CoreBluetooth.framework
     1.8 +==============================================================================
     1.9 +
    1.10 +SDL_JOYSTICK_HIDAPI is disabled by default. It can give you access to a lot
    1.11 +more game controller devices, but it requires permission from the user before
    1.12 +your app will be able to talk to the Bluetooth hardware. "Made For iOS"
    1.13 +branded controllers do not need this as we don't have to speak to them
    1.14 +directly with raw bluetooth, so many apps can live without this.
    1.15 +
    1.16 +You'll need to link with CoreBluetooth.framework and add something like this
    1.17 +to your Info.plist:
    1.18 +
    1.19 +<key>NSBluetoothPeripheralUsageDescription</key>
    1.20 +<string>MyApp would like to remain connected to nearby bluetooth Game Controllers and Game Pads even when you're not using the app.</string>
    1.21 +
    1.22 +==============================================================================
    1.23  Game Center 
    1.24  ==============================================================================
    1.25