summaryrefslogtreecommitdiff
path: root/docs/README-ios.md
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2018-10-29 15:51:38 -0400
committerRyan C. Gordon <icculus@icculus.org>2018-10-29 15:51:38 -0400
commit9aaedbae08c6de5e9f2747aa274b8f9cabcead63 (patch)
tree153a1f4c7610e4de80647a8eb4b822435afe04e8 /docs/README-ios.md
parent261c0474d8a2324677c07dd6ea65da71bc97bdee (diff)
downloadsdl-9aaedbae08c6de5e9f2747aa274b8f9cabcead63.tar.gz
README-ios: added a note about enabling hidapi.
Diffstat (limited to 'docs/README-ios.md')
-rw-r--r--docs/README-ios.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/README-ios.md b/docs/README-ios.md
index bf34fe482..445524f5b 100644
--- a/docs/README-ios.md
+++ b/docs/README-ios.md
@@ -229,6 +229,22 @@ Loading Shared Objects:
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.
==============================================================================
+Notes -- CoreBluetooth.framework
+==============================================================================
+
+SDL_JOYSTICK_HIDAPI is disabled by default. It can give you access to a lot
+more game controller devices, but it requires permission from the user before
+your app will be able to talk to the Bluetooth hardware. "Made For iOS"
+branded controllers do not need this as we don't have to speak to them
+directly with raw bluetooth, so many apps can live without this.
+
+You'll need to link with CoreBluetooth.framework and add something like this
+to your Info.plist:
+
+<key>NSBluetoothPeripheralUsageDescription</key>
+<string>MyApp would like to remain connected to nearby bluetooth Game Controllers and Game Pads even when you're not using the app.</string>
+
+==============================================================================
Game Center
==============================================================================