|
⇤ ← Revision 1 as of 2020-01-13 09:16:08
Size: 426
Comment: Create SDL_SensorOpen page
|
Size: 426
Comment: Add CategorySensor
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 21: | Line 21: |
| [[CategoryAPI]], [[CategoryEvents]] | [[CategoryAPI]], [[CategorySensor]] |
SDL_SensorOpen
Open a sensor for use.
Syntax
SDL_Sensor *SDLCALL SDL_SensorOpen(int device_index);
Function Parameters
device_index |
The sensor to open |
Return Value
A SDL_Sensor sensor object, or NULL if an error occurred.
