Function sdl2_sys::SDL_JoystickNumButtons [] [src]

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

Get the number of buttons on a joystick.