SDL/include
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
..
SDL.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_assert.h Chrome's Native Client backend implementation 2014-06-06 15:45:59 -03:00
SDL_atomic.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_audio.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_bits.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_blendmode.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_clipboard.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_config.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_config.h.cmake Added SDL_sqrtf(), SDL_tan(), SDL_tanf() 2014-06-07 18:20:01 -07:00
SDL_config.h.in Add IBus IME Support, move DBus code to its own file. (v3.3 squashed) 2014-06-18 20:11:39 +01:00
SDL_config_android.h Added SDL_sqrtf(), SDL_tan(), SDL_tanf() 2014-06-07 18:20:01 -07:00
SDL_config_iphoneos.h Fixed bug 2603 - iOS: update joystick accelerometer code to use CoreMotion instead of the deprecated UIAccelerometer 2014-06-25 00:20:21 -07:00
SDL_config_macosx.h Added SDL_sqrtf(), SDL_tan(), SDL_tanf() 2014-06-07 18:20:01 -07:00
SDL_config_minimal.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_config_pandora.h Added SDL_sqrtf(), SDL_tan(), SDL_tanf() 2014-06-07 18:20:01 -07:00
SDL_config_psp.h Added SDL_sqrtf(), SDL_tan(), SDL_tanf() 2014-06-07 18:20:01 -07:00
SDL_config_windows.h Added SDL_sqrtf(), SDL_tan(), SDL_tanf() 2014-06-07 18:20:01 -07:00
SDL_config_winrt.h Added SDL_sqrtf(), SDL_tan(), SDL_tanf() 2014-06-07 18:20:01 -07:00
SDL_config_wiz.h Added SDL_sqrtf(), SDL_tan(), SDL_tanf() 2014-06-07 18:20:01 -07:00
SDL_copying.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_cpuinfo.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_egl.h __ANDROID__ is the correct macro to check for an android system.ANDROID is only defined in NDK build system (.mk) and not in the standalone NDK. 2014-05-05 22:21:26 +03:00
SDL_endian.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_error.h Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_events.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_filesystem.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_gamecontroller.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_gesture.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_haptic.h Fixed typo in header comment. 2014-05-11 15:59:22 +02:00
SDL_hints.h Fixed bug 2553 - Add support to all XInput devices 2014-06-24 13:31:25 -07:00
SDL_joystick.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_keyboard.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_keycode.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_loadso.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_log.h Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_main.h Chrome's Native Client backend implementation 2014-06-06 15:45:59 -03:00
SDL_messagebox.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_mouse.h Added an API function to warp the mouse cursor in global screen space: SDL_WarpMouseGlobal() 2014-06-04 10:55:26 -07:00
SDL_mutex.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_name.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_opengl.h Fixed bug 2568 - NO_SDL_GLEXT should prevent OS glext.h as well 2014-06-15 17:37:35 -07:00
SDL_opengl_glext.h Fixed Mac OS X build 2014-06-04 16:35:07 -07:00
SDL_opengles.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_opengles2.h SDL_opengles2: Separate out GLES2 headers. 2014-06-04 01:27:13 -07:00
SDL_opengles2_gl2.h SDL_opengles2: Update to latest Khronos headers. 2014-06-04 01:35:36 -07:00
SDL_opengles2_gl2ext.h SDL_opengles2: Update to latest Khronos headers. 2014-06-04 01:35:36 -07:00
SDL_opengles2_gl2platform.h SDL_opengles2: Update to latest Khronos headers. 2014-06-04 01:35:36 -07:00
SDL_opengles2_khrplatform.h SDL_opengles2: Update to latest Khronos headers. 2014-06-04 01:35:36 -07:00
SDL_pixels.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_platform.h Chrome's Native Client backend implementation 2014-06-06 15:45:59 -03:00
SDL_power.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_quit.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_rect.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_render.h Render: Allow empty cliprect. 2014-04-19 13:15:41 -07:00
SDL_revision.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_rwops.h The NaCL mount/unmount functions need to be in SDL_system.h and specific to NaCL 2014-06-08 12:05:17 -07:00
SDL_scancode.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_shape.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_stdinc.h Don't redefine standard macros, use SDL specific macros instead to avoid compiler warnings 2014-06-23 11:06:50 -07:00
SDL_surface.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_system.h Initialize nacl_io, removes SDL_NaClMount/Umount 2014-06-20 10:59:51 -03:00
SDL_syswm.h SDL_opengl: Fix Mac build for SDK 10.9 too. 2014-06-04 10:33:23 -07:00
SDL_test.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_test_assert.h Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_test_common.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_test_compare.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_test_crc32.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_test_font.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_test_fuzzer.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_test_harness.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_test_images.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_test_log.h Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_test_md5.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_test_random.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_thread.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_timer.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_touch.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_types.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_version.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_video.h Fixed typo in header comment. 2014-05-18 21:05:39 +02:00
begin_code.h Fix compiler warnings in Native Client and Linux builds. 2014-06-20 11:10:16 -03:00
close_code.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
doxyfile Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00