|
⇤ ← Revision 1 as of 2020-01-13 13:37:47
Size: 452
Comment: Create SDL_SensorGetInstanceID page
|
← Revision 2 as of 2020-01-13 13:49:53 ⇥
Size: 452
Comment: Add CategorySensor
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 21: | Line 21: |
| [[CategoryAPI]], [[CategoryEvents]] | [[CategoryAPI]], [[CategorySensor]] |
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.
