Wiki Page Content

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)

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