SDL_GetSensorFromID - Man Page
Return the SDL_Sensor associated with an instance ID.
Synopsis
#include <SDL3/SDL_sensor.h> SDL_Sensor * SDL_GetSensorFromID(SDL_SensorID instance_id);
Function Parameters
- instance_id
the sensor instance ID.
Return Value
Returns an SDL_Sensor object or NULL on failure; call SDL_GetError() for more information.
Availability
This function is available since SDL 3.2.0.
Info
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS