Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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