opensolaris man page for sdl_joystickgethat

Query: sdl_joystickgethat

OS: opensolaris

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SDL_JoystickGetHat(3)						 SDL API Reference					     SDL_JoystickGetHat(3)

NAME
SDL_JoystickGetHat - Get the current state of a joystick hat
SYNOPSIS
#include "SDL.h" Uint8 SDL_JoystickGetHat(SDL_Joystick *joystick, int hat);
DESCRIPTION
SDL_JoystickGetHat returns the current state of the given hat on the given joystick.
RETURN VALUE
The current state is returned as a Uint8 which is defined as an OR'd combination of one or more of the following SDL_HAT_CENTERED SDL_HAT_UP SDL_HAT_RIGHT SDL_HAT_DOWN SDL_HAT_LEFT SDL_HAT_RIGHTUP SDL_HAT_RIGHTDOWN SDL_HAT_LEFTUP SDL_HAT_LEFTDOWN
SEE ALSO
SDL_JoystickNumHats
SDL
Tue 11 Sep 2001, 23:00 SDL_JoystickGetHat(3)
Related Man Pages
glutforcejoystickfunc(3glut) - redhat
sdl_mousemotionevent(3) - debian
glutforcejoystickfunc(3glut) - suse
glutforcejoystickfunc(3glut) - osx
sdl::joystick(3pm) - debian
Similar Topics in the Unix Linux Community
Trying to block signal
What does this mean?
PHP Man Pages Now Available (Over 10,000)
Study UNIX Kernel
Change directory for core file