SDL_GetSensors

Get a list of currently connected sensors.

extern (C) nothrow @nogc extern
SDL_GetSensors
(
int* count
)

Parameters

count int*

a pointer filled in with the number of sensors returned, may be NULL.

Return Value

A 0 terminated array of sensor instance IDs or NULL on failure; call SDL_GetError() for more information. This should be freed with SDL_free() when it is no longer needed.

Meta