Function sdl2_sys::SDL_JoystickNumButtons
source · [−]pub unsafe extern "C" fn SDL_JoystickNumButtons(
joystick: *mut SDL_Joystick
) -> c_intExpand description
Get the number of buttons on a joystick.
pub unsafe extern "C" fn SDL_JoystickNumButtons(
joystick: *mut SDL_Joystick
) -> c_intGet the number of buttons on a joystick.