[][src]Function sdl2_sys::SDL_SensorGetType

pub unsafe extern "C" fn SDL_SensorGetType(
    sensor: *mut SDL_Sensor
) -> SDL_SensorType

\brief Get the type of a sensor.

This can be called before any sensors are opened.

\return The sensor type, or SDL_SENSOR_INVALID if the sensor is NULL.