Penguin

SDL_!JoystickGetButton?

SDL_!JoystickGetButton?

NAME SYNOPSIS DESCRIPTION RETURN VALUE SEE ALSO


NAME

SDL_!JoystickGetButton?- Get the current state of a given button on a given joystick

SYNOPSIS

#include

Uint8 SDL_!JoystickGetButton?(__SDL_Joystick

  • joystick, int button__);

DESCRIPTION

SDL_!JoystickGetButton? returns the current state of the given button on the given joystick.

RETURN VALUE

1 if the button is pressed. Otherwise, 0.

SEE ALSO

SDL_!JoystickNumButtons?


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.