Added documentation that the UIApplicationSupportsIndirectInputEvents key must be set to true

in your application's Info.plist in order to get real Bluetooth mouse events.
This commit is contained in:
Sam Lantinga
2021-11-09 20:32:16 -08:00
parent a7e2e3a329
commit 19c129faba
4 changed files with 39 additions and 19 deletions

View File

@@ -191,6 +191,12 @@ SDL_bool SDL_IsTextInputActive()
-- returns whether or not text events are enabled (and the onscreen keyboard is visible)
Notes -- Mouse
==============================================================================
iOS now supports Bluetooth mice on iPad, but by default will provide the mouse input as touch. In order for SDL to see the real mouse events, you should set the key UIApplicationSupportsIndirectInputEvents to true in your Info.plist
Notes -- Reading and Writing files
==============================================================================