SDL_!JoystickGetButton?
NAME SYNOPSIS DESCRIPTION RETURN VALUE SEE ALSO
SDL_!JoystickGetButton?- Get the current state of a given button on a given joystick
#include
Uint8 SDL_!JoystickGetButton?(__SDL_Joystick
SDL_!JoystickGetButton? returns the current state of the given button on the given joystick.
1 if the button is pressed. Otherwise, 0.
SDL_!JoystickNumButtons?
One page links to SDL_JoystickGetButton(3):