SDL-mirror/include
Sam Lantinga ff201dbea2 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
..
begin_code.h Fix compiler warnings in Native Client and Linux builds. 2014-06-20 11:10:16 -03:00
close_code.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
doxyfile Remove / update references to 1.2. 2013-06-27 17:07:24 -07:00
SDL.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_assert.h Chrome's Native Client backend implementation 2014-06-06 15:45:59 -03:00
SDL_atomic.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_audio.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_bits.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_blendmode.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_clipboard.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_config.h Integrated David Ludwig's support for Windows RT 2014-03-09 11:36:47 -07: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 Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08: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 Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_cpuinfo.h Integrated David Ludwig's support for Windows RT 2014-03-09 11:36:47 -07: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 Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_error.h Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_events.h Added an event SDL_RENDER_DEVICE_RESET, which is triggered on Direct3D 11 when the device has been lost and all textures need to be recreated. 2014-03-23 23:09:22 -07:00
SDL_filesystem.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_gamecontroller.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_gesture.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08: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 Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_keyboard.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_keycode.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_loadso.h Back out changelist 1951976 2014-02-13 11:05:34 -08: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 Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08: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 Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_name.h Added missing copyright notices 2014-03-13 21:21:26 -07: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 Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08: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 SDL_pixels.h needs SDL_stdinc.h for SDL_FOURCC #define (thanks, Dmitry!). 2014-02-05 00:34:26 -05:00
SDL_platform.h Chrome's Native Client backend implementation 2014-06-06 15:45:59 -03:00
SDL_power.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_quit.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_rect.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_render.h Render: Allow empty cliprect. 2014-04-19 13:15:41 -07:00
SDL_revision.h
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 Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_shape.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08: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 Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08: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 Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_assert.h Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_test_common.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_compare.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_crc32.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_font.h Exposed the font character size and SDLTest_DrawCharacter() to make it easier to do custom debug text layout 2014-02-10 10:02:42 -08:00
SDL_test_fuzzer.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_harness.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_images.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_log.h Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_test_md5.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_random.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_thread.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_timer.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_touch.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_types.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_version.h Updated SDL to version 2.0.3 2014-03-09 10:38:30 -07:00
SDL_video.h Fixed typo in header comment. 2014-05-18 21:05:39 +02:00