Don't use CoreMotion on tvOS

This commit is contained in:
Sam Lantinga 2018-08-21 20:34:09 -07:00
parent b8ae2c1860
commit 74e99f7416
1 changed files with 4 additions and 0 deletions

View File

@ -139,8 +139,12 @@
#define SDL_JOYSTICK_MFI 1
#define SDL_JOYSTICK_HIDAPI 1
#ifdef __IPHONEOS__
/* Enable the CoreMotion sensor driver */
#define SDL_SENSOR_COREMOTION 1
#else
#define SDL_SENSOR_DUMMY 1
#endif
/* Enable Unix style SO loading */
#define SDL_LOADSO_DLOPEN 1