SDL_JoystickNumButtons

Name

SDL_JoystickNumButtons -- Get the number of joystick 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

SDL_JoystickNumButtons (last edited 2008-04-17 08:18:17 by localhost)