Get the number of joystick axes
#include "SDL.h"
int SDL_JoystickNumAxes(SDL_Joystick *joystick);
Return the number of axes available from a previously opened SDL_Joystick.
Number of axes.
SDL_JoystickGetAxis, SDL_JoystickOpen