[][src]Function sdl2_sys::SDL_JoystickNumButtons

pub unsafe extern "C" fn SDL_JoystickNumButtons(
    joystick: *mut SDL_Joystick
) -> c_int

Get the number of buttons on a joystick.