Skip to content

Commit

Permalink
Backed out changeset 2944045e695b, SDL_JOYSTICK_HIDAPI is only used o…
Browse files Browse the repository at this point in the history
…n iOS for Steam Controller support, which is not publicly available.
  • Loading branch information
slouken committed Oct 30, 2018
1 parent e542d1a commit 950f39e
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions docs/README-ios.md
Expand Up @@ -228,22 +228,6 @@ Textures:
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
==============================================================================
Expand Down

0 comments on commit 950f39e

Please sign in to comment.