SDL_JoystickNumAxes (3) - Linux Manuals
SDL_JoystickNumAxes: Get the number of joystick axes
NAME
SDL_JoystickNumAxes - Get the number of joystick axesSYNOPSIS
#include "SDL.h"
int SDL_JoystickNumAxes(SDL_Joystick *joystick);
DESCRIPTION
Return the number of axes available from a previously opened SDL_Joystick.
RETURN VALUE
SEE ALSO
SDL_JoystickGetAxis, SDL_JoystickOpen