Skip to main content

SDL_GetSensorName

Function SDL_GetSensorName 

Source
pub unsafe extern "C" fn SDL_GetSensorName(
    sensor: *mut SDL_Sensor,
) -> *const c_char
Expand description

Get the implementation dependent name of a sensor.

Parameter: sensor the SDL_Sensor object. Returns: the sensor name or NULL on failure; call SDL_GetError() for more information.

Available Since: This function is available since SDL 3.2.0.