SDL/src
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
..
atomic Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
audio Fixed bug 2467 - bad memcpy in SDL_OpenAudio/open_audio_device/prepare_audiospec chain 2014-06-24 01:38:21 -07:00
core Merged changes from Alexey Petruchik to support Android obb files 2014-06-21 20:35:36 -07:00
cpuinfo Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
dynapi Added SDL_sqrtf(), SDL_tan(), SDL_tanf() 2014-06-07 18:20:01 -07:00
events Partial fix for bug 2556 - add compilation flag -Wshadow 2014-06-22 11:02:56 -07:00
file The NaCL mount/unmount functions need to be in SDL_system.h and specific to NaCL 2014-06-08 12:05:17 -07:00
filesystem Ooops, code that resists erasure, I've seen that in a movie. 2014-06-20 11:01:05 -03:00
haptic Fixed bug 2562 - SDL_hapticlist/_tail not set correctly 2014-06-21 20:40:00 -07:00
joystick Fixed bug 2603 - iOS: update joystick accelerometer code to use CoreMotion instead of the deprecated UIAccelerometer 2014-06-25 00:20:21 -07:00
libm Fixed building on command line Mac OS X 2014-06-07 20:43:12 -07:00
loadso Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
main Fix another NaCl warning 2014-06-20 11:50:31 -03:00
power Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
render Fixes OpenGL ES 2 renderer (Thanks Sylvain Becker) 2014-06-23 09:25:27 -03:00
stdlib Fixed bug 2596 - SDL_SetError fails on on NULL on systems with vsnprintf 2014-06-21 11:52:53 -07:00
test Don't redefine standard macros, use SDL specific macros instead to avoid compiler warnings 2014-06-23 11:06:50 -07:00
thread Fix compiler warnings in Native Client and Linux builds. 2014-06-20 11:10:16 -03:00
timer Fix compiler warnings in Native Client and Linux builds. 2014-06-20 11:10:16 -03:00
video Fixed grab interaction with Windows Classic theme 2014-06-23 10:09:15 -07:00
SDL_assert_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_assert.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_error_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_error.c Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_hints.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_internal.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_log.c Chrome's Native Client backend implementation 2014-06-06 15:45:59 -03:00
SDL.c Added NaCl to SDL_GetPlatform() 2014-06-21 11:48:12 -07:00