|
⇤ ← Revision 1 as of 2020-01-13 08:59:15
Size: 525
Comment: Create SDL_SensorGetDeviceName page
|
← Revision 2 as of 2020-01-13 13:49:02 ⇥
Size: 525
Comment: Add CategorySensor
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 23: | Line 23: |
| [[CategoryAPI]], [[CategoryEvents]] | [[CategoryAPI]], [[CategorySensor]] |
SDL_SensorGetDeviceName
Get the implementation dependent name of a sensor.
This can be called before any sensors are opened.
Syntax
const char *SDL_SensorGetDeviceName(int device_index);
Function Parameters
device_index |
The sensor to obtain name from |
Return Value
The sensor name, or NULL if device_index is out of range.
