Don't use CoreMotion on tvOS
authorSam Lantinga <slouken@libsdl.org>
Tue, 21 Aug 2018 20:34:09 -0700
changeset 12139dde05e8ac11c
parent 12138 220ce1ab98d6
child 12140 e1f20a3214d9
Don't use CoreMotion on tvOS
include/SDL_config_iphoneos.h
     1.1 --- a/include/SDL_config_iphoneos.h	Tue Aug 21 20:20:54 2018 -0700
     1.2 +++ b/include/SDL_config_iphoneos.h	Tue Aug 21 20:34:09 2018 -0700
     1.3 @@ -139,8 +139,12 @@
     1.4  #define SDL_JOYSTICK_MFI 1
     1.5  #define SDL_JOYSTICK_HIDAPI 1
     1.6  
     1.7 +#ifdef __IPHONEOS__
     1.8  /* Enable the CoreMotion sensor driver */
     1.9  #define SDL_SENSOR_COREMOTION   1
    1.10 +#else
    1.11 +#define SDL_SENSOR_DUMMY    1
    1.12 +#endif
    1.13  
    1.14  /* Enable Unix style SO loading */
    1.15  #define SDL_LOADSO_DLOPEN 1