Add sensor support
This commit is contained in:
parent
bd14aa633f
commit
a1adc8a9d6
7 changed files with 219 additions and 6 deletions
|
@ -44,6 +44,9 @@ static SDL_SensorDriver *SDL_sensor_drivers[] = {
|
|||
#if defined(SDL_SENSOR_DUMMY) || defined(SDL_SENSOR_DISABLED)
|
||||
&SDL_DUMMY_SensorDriver
|
||||
#endif
|
||||
#if defined(SDL_SENSOR_VITA)
|
||||
&SDL_VITA_SensorDriver
|
||||
#endif
|
||||
};
|
||||
static SDL_Sensor *SDL_sensors = NULL;
|
||||
static SDL_bool SDL_updating_sensor = SDL_FALSE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue