SDL_JoystickNumButtons man page

SDL_JoystickNumButtons — Get the number of joysitck buttons

Synopsis

#include "SDL.h"

int SDL_JoystickNumButtons(SDL_Joystick *joystick);

Description

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

Return Value

Number of buttons.

See Also

SDL_JoystickGetButton, SDL_JoystickOpen

Info

Tue 11 Sep 2001, 23:00 SDL SDL API Reference