Penguin
Note: You are viewing an old revision of this page. View the current version.

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.