pub fn is_connected(joystick: u32) -> bool
Expand description

Check if the joystick is connected

Arguments

  • joystick - Index of the joystick to check

Return true if the joystick is connected, false otherwise