www.fifi.org Documentation Manpages GNU Info Debian document tree Whole document tree Trigance web page Public services User info Mailing lists Secure server Multilingual usage
Copyright (C) 2000-2012 Philippe Troin <webmaster@fifi.org>.
Validate HTML Validate CSS
Whole document tree
#include "SDL.h"
Uint8 SDL_JoystickGetButton(SDL_Joystick *joystick, int button);
Uint8 SDL_JoystickGetButton
SDL_JoystickGetButton returns the current state of the given button on the given joystick.
1 if the button is pressed. Otherwise, 0.
SDL_JoystickNumButtons