![]() |
![]()
| ![]() |
![]()
NAMESDL_JoystickNumButtons - Get the number of joysitck buttons SYNOPSIS#include "SDL.h" int SDL_JoystickNumButtons(SDL_Joystick *joystick); DESCRIPTIONReturn the number of buttons available from a previously opened SDL_Joystick. RETURN VALUENumber of buttons. SEE ALSOSDL_JoystickGetButton, SDL_JoystickOpen
|