/* Return the next available sensor instance ID This may be called by drivers from multiple threads, unprotected by any locks  */
SDL_SensorID SDL_GetNextSensorInstanceID()
/* Return the next available sensor instance ID This may be called by drivers from multiple threads, unprotected by any locks  */
SDL_SensorID SDL_GetNextSensorInstanceID()
{
    return SDL_AtomicIncRef(&SDL_next_sensor_instance_id);
}