SDL/src/joystick
Sam Lantinga 6a632eb23c Fixed bug 2603 - iOS: update joystick accelerometer code to use CoreMotion instead of the deprecated UIAccelerometer
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.
2014-06-25 00:20:21 -07:00
..
android Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
bsd Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
darwin Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
dummy Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
haiku Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
iphoneos Fixed bug 2603 - iOS: update joystick accelerometer code to use CoreMotion instead of the deprecated UIAccelerometer 2014-06-25 00:20:21 -07:00
linux Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
psp Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
windows Fixed bug 2553 - Add support to all XInput devices 2014-06-24 13:31:25 -07:00
winrt Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
SDL_gamecontroller.c Fixed bug 2553 - Add support to all XInput devices 2014-06-24 13:31:25 -07:00
SDL_gamecontrollerdb.h Fixed bug 2553 - Add support to all XInput devices 2014-06-24 13:31:25 -07:00
SDL_joystick_c.h Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
SDL_joystick.c Fixed bug 2553 - Add support to all XInput devices 2014-06-24 13:31:25 -07:00
SDL_sysjoystick.h Fixed bug 2553 - Add support to all XInput devices 2014-06-24 13:31:25 -07:00
sort_controllers.py Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00