DOKK / manpages / debian 12 / libsdl1.2-dev / SDL_JoystickNumButtons.3.en
SDL_JoystickNumButtons(3) SDL API Reference SDL_JoystickNumButtons(3)

SDL_JoystickNumButtons - Get the number of joysitck buttons

#include "SDL.h"

int SDL_JoystickNumButtons(SDL_Joystick *joystick);

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

Number of buttons.

SDL_JoystickGetButton, SDL_JoystickOpen

Tue 11 Sep 2001, 23:00 SDL