Skip to content

Commit

Permalink
Don't use CoreMotion on tvOS
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 22, 2018
1 parent b8ae2c1 commit 74e99f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/SDL_config_iphoneos.h
Expand Up @@ -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
Expand Down

0 comments on commit 74e99f7

Please sign in to comment.