Wiki Page Content

Revision 1 as of 2020-01-13 09:16:08

Clear message

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.


CategoryAPI, CategoryEvents

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