Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2020-01-13 13:51:04
Size: 426
Editor: markand
Comment: Add CategorySensor
Revision 3 as of 2020-01-13 13:51:28
Size: 418
Editor: markand
Comment: Remove useless SDLCALL in synopsys
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
SDL_Sensor *SDLCALL SDL_SensorOpen(int device_index); SDL_Sensor *SDL_SensorOpen(int device_index);

SDL_SensorOpen

Open a sensor for use.

Syntax

SDL_Sensor *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.


CategoryAPI, CategorySensor

None: SDL_SensorOpen (last edited 2020-01-13 13:51:28 by markand)

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