Function SDL_NumSensors

pub unsafe extern "C" fn SDL_NumSensors() -> i32
Available on crate feature dep_sdl2 only.
Expand description

Count the number of sensors attached to the system right now.

\returns the number of sensors detected.

\since This function is available since SDL 2.0.9.