MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SDL_SensorGetName

Function SDL_SensorGetName

deps/SDL2/src/sensor/SDL_sensor.c:322–330  ·  view source on GitHub ↗

* Get the friendly name of this sensor */

Source from the content-addressed store, hash-verified

320 * Get the friendly name of this sensor
321 */
322const char *
323SDL_SensorGetName(SDL_Sensor * sensor)
324{
325 if (!SDL_PrivateSensorValid(sensor)) {
326 return NULL;
327 }
328
329 return sensor->name;
330}
331
332/*
333 * Get the type of this sensor

Callers

nothing calls this directly

Calls 1

SDL_PrivateSensorValidFunction · 0.85

Tested by

no test coverage detected