Function sdl2::joystick::num_joysticks
[−]
[src]
pub fn num_joysticks() -> SdlResult<i32>
Retreive the total number of attached joysticks and controllers identified by SDL.