mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-10 05:18:13 +00:00
N3DS: Use SDL_Sensor instead of Joystick sensors.
This commit is contained in:

committed by
Sam Lantinga

parent
27557b62b6
commit
392f3882d0
@@ -41,12 +41,15 @@ static SDL_SensorDriver *SDL_sensor_drivers[] = {
|
||||
#ifdef SDL_SENSOR_WINDOWS
|
||||
&SDL_WINDOWS_SensorDriver,
|
||||
#endif
|
||||
#ifdef SDL_SENSOR_VITA
|
||||
&SDL_VITA_SensorDriver,
|
||||
#endif
|
||||
#ifdef SDL_SENSOR_N3DS
|
||||
&SDL_N3DS_SensorDriver,
|
||||
#endif
|
||||
#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