Function sdl2_sys::SDL_NumSensors

source ·
pub unsafe extern "C" fn SDL_NumSensors() -> c_int
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.