Function sdl2_sys::SDL_SensorGetType
source ยท pub unsafe extern "C" fn SDL_SensorGetType(
sensor: *mut SDL_Sensor,
) -> SDL_SensorType
Expand description
Get the type of a sensor.
\param sensor The SDL_Sensor object to inspect
\returns the SDL_SensorType type, or SDL_SENSOR_INVALID
if sensor
is
NULL.
\since This function is available since SDL 2.0.9.