mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-25 02:55:33 +00:00
6a632eb23c
Alex Szpakowski SDL's code for exposing the accelerometer as a joystick on iOS currently uses UIAccelerometer, which was superseded by the CoreMotion framework and deprecated since iOS 5. The UIAccelerometer code still works (for now), but it also throws deprecation warnings whenever SDL is built for iOS, since SDL's deployment target is no longer below iOS 5. I've created a patch which replaces the old UIAccelerometer code with a replacement based on the CoreMotion framework. It has identical functionality (to SDL users), however iOS apps are now required to link to the CoreMotion framework when using SDL. |
||
---|---|---|
.. | ||
Demos | ||
SDL/SDL.xcodeproj | ||
SDLtest/SDL2test.xcodeproj | ||
Template/SDL iOS Application | ||
Test |