pub fn button_count(joystick: u32) -> u32
Expand description

Return the number of buttons supported by a joystick

Arguments

  • joystick - Index of the joystick

Return the number of buttons supported by the joystick.