Name

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(3), SDL_JoystickOpen(3)

COPYRIGHT

This manual page is taken from the SDL library, licensed under GNU LGPL.