Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 5.3

SDL_JoystickGetButton(3)


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 "SDL.h"

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



SDL_JoystickGetButton(3)