SDL_JoystickGetHat man page on JazzOS

Man page or keyword search:  
man Server   2339 pages
apropos Keyword Search (all sections)
Output format
JazzOS logo
[printable version]

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)
[top]

List of man pages available for JazzOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net