N3DS: Use SDL_Sensor instead of Joystick sensors.
This commit is contained in:
parent
27557b62b6
commit
392f3882d0
6 changed files with 234 additions and 44 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue