Function SDL_GetSensorName
pub unsafe extern "C" fn SDL_GetSensorName(
sensor: *mut SDL_Sensor,
) -> *const i8
Available on crate feature
dep_sdl3
only.Expand description
Get the implementation dependent name of a sensor.
§Parameters
sensor
: theSDL_Sensor
object.
§Return value
Returns the sensor name or NULL on failure; call SDL_GetError()
for more
information.
§Availability
This function is available since SDL 3.2.0.