logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_JoystickNumButtons - Get the number of joysitck buttons

Description

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

Name

       SDL_JoystickNumButtons - Get the number of joysitck buttons

Return Value

       Number of buttons.

See Also

SDL_JoystickGetButton, SDL_JoystickOpen

SDL                                          Tue 11 Sep 2001, 23:00                    SDL_JoystickNumButtons(3)

Synopsis

#include"SDL.h"intSDL_JoystickNumButtons(SDL_Joystick*joystick);

See Also