sdl_joystickgetbutton(3) opensolaris man page | unix.com

Man Page: sdl_joystickgetbutton

Operating Environment: opensolaris

Section: 3

SDL_JoystickGetButton(3)					 SDL API Reference					  SDL_JoystickGetButton(3)

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
Tue 11 Sep 2001, 23:00 SDL_JoystickGetButton(3)
Related Man Pages
sdl_joystickopen(3) - opensolaris
sdl_joystickopen(3) - redhat
joystick_button3(3) - debian
joystick_button4(3) - debian
sdl_mousemotionevent(3) - centos
Similar Topics in the Unix Linux Community
How to learn UNIX
Study UNIX Kernel
Grep the 'not running' jobs and will send the update in mail with its name(job)
Free Sun Blade 2k, Ultra 2, Ross Hyperstation 30, cards, memory- Baltimore, MD
Shopt -s histappend