Add sensor support

This commit is contained in:
Ivan Epifanov
2020-11-22 01:02:00 +03:00
committed by Sam Lantinga
parent bd14aa633f
commit a1adc8a9d6
7 changed files with 219 additions and 6 deletions

View File

@@ -137,6 +137,7 @@
#define SDL_POWER_VITA 1
#define SDL_VIDEO_DRIVER_VITA 1
#define SDL_FILESYSTEM_VITA 1
#define SDL_SENSOR_VITA 1
#if defined(_VITA_GLES2_)
#define SDL_VIDEO_RENDER_VITA_GLES2 1
@@ -156,8 +157,4 @@
// that' not true, but oh well
#define SDL_LOADSO_DISABLED 1
/* TODO: VITA does have gyroscope. */
#define SDL_SENSOR_DISABLED 1
#define SDL_SENSOR_DUMMY 1
#endif /* _SDL_config_vita_h */