Wiki Page Content

SDL_SensorGetInstanceID

Get the instance ID of a sensor.

Syntax

SDL_SensorID SDL_SensorGetInstanceID(SDL_Sensor *sensor);

Function Parameters

sensor

The SDL_Sensor object to inspect

Return Value

The sensor instance ID, or -1 if the sensor is NULL.


CategoryAPI, CategorySensor

None: SDL_SensorGetInstanceID (last edited 2020-01-13 13:49:53 by markand)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit