Added the iOS sensor implementation

This commit is contained in:
Sam Lantinga 2018-08-21 17:24:12 -07:00
parent bdbc06b027
commit c6647bf9c9
8 changed files with 320 additions and 6 deletions

View file

@ -36,6 +36,9 @@ static SDL_SensorDriver *SDL_sensor_drivers[] = {
#ifdef SDL_SENSOR_ANDROID
&SDL_ANDROID_SensorDriver,
#endif
#ifdef SDL_SENSOR_COREMOTION
&SDL_COREMOTION_SensorDriver,
#endif
#if defined(SDL_SENSOR_DUMMY) || defined(SDL_SENSOR_DISABLED)
&SDL_DUMMY_SensorDriver
#endif