SDL_JoystickNumAxes(3)

Get the number of joystick axes

Section 3 libsdl1.2-dev bookworm source

Description

SDL_JoystickNumAxes

NAME

SDL_JoystickNumAxes - Get the number of joystick axes

SYNOPSIS

#include "SDL.h"

int SDL_JoystickNumAxes(SDL_Joystick *joystick);

DESCRIPTION

Return the number of axes available from a previously opened SDL_Joystick.

RETURN VALUE

Number of axes.

SEE ALSO

SDL_JoystickGetAxis, SDL_JoystickOpen