1SDL_JoystickNumButtons(3) SDL API Reference SDL_JoystickNumButtons(3)
23
4
NAME
6SDL_JoystickNumButtons - Get the number of joysitck buttons
7
SYNOPSIS
9#include "SDL.h"
1011
int SDL_JoystickNumButtons(SDL_Joystick *joystick);
12
DESCRIPTION
14Return the number of buttons available from a previously opened
15SDL_Joystick.
16
RETURN VALUE
18Number of buttons.
19
SEE ALSO
21SDL_JoystickGetButton, SDL_JoystickOpen
2223
24
25
SDL Tue 11 Sep 2001, 23:00 SDL_JoystickNumButtons(3)