|
⇤ ← Revision 1 as of 2020-01-13 13:36:02
Size: 477
Comment: Create SDL_SensorGetNonPortableType
|
← Revision 2 as of 2020-01-13 13:50:28 ⇥
Size: 477
Comment: Add CategorySensor
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 21: | Line 21: |
| [[CategoryAPI]], [[CategoryEvents]] | [[CategoryAPI]], [[CategorySensor]] |
SDL_SensorGetNonPortableType
Get the platform dependent type of a sensor.
Syntax
int SDL_SensorGetNonPortableType(SDL_Sensor *sensor);
Function Parameters
sensor |
The SDL_Sensor object to inspect |
Return Value
The sensor platform dependent type, or -1 if the sensor is NULL.
