mirror of
https://github.com/encounter/SDL.git
synced 2025-12-16 08:27:05 +00:00
Add sensor support
This commit is contained in:
committed by
Sam Lantinga
parent
bd14aa633f
commit
a1adc8a9d6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user