SDL_JoystickNumButtons (3) Linux Manual Page
SDL_JoystickNumButtons – Get the number of joysitck buttons
Synopsis
#include "SDL.h" int SDL_JoystickNumButtons(SDL_Joystick *joystick);
SDL_JoystickNumButtons – Get the number of joysitck buttons
int SDL_JoystickNumButtons(SDL_Joystick *joystick);