pub fn button_count(joystick: u32) -> u32
Return the number of buttons supported by a joystick
Return the number of buttons supported by the joystick.