gets static method

List<int> gets()

Get a list of currently connected sensors.

\param count a pointer filled in with the number of sensors returned, may be NULL. \returns 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.

\since This function is available since SDL 3.2.0.

extern SDL_DECLSPEC SDL_SensorID * SDLCALL SDL_GetSensors(int *count)

Implementation

static List<int> gets() => sdlxGetSensors();