docs/man3/SDL_JoystickGetHat.3
changeset 3352 6dc250ebdd80
parent 3351 8e0182c236d8
child 3353 6b14223dd5c7
     1.1 --- a/docs/man3/SDL_JoystickGetHat.3	Wed Oct 07 06:11:53 2009 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,36 +0,0 @@
     1.4 -.TH "SDL_JoystickGetHat" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
     1.5 -.SH "NAME"
     1.6 -SDL_JoystickGetHat \- Get the current state of a joystick hat
     1.7 -.SH "SYNOPSIS"
     1.8 -.PP
     1.9 -\fB#include "SDL\&.h"
    1.10 -.sp
    1.11 -\fBUint8 \fBSDL_JoystickGetHat\fP\fR(\fBSDL_Joystick *joystick, int hat\fR);
    1.12 -.SH "DESCRIPTION"
    1.13 -.PP
    1.14 -SDL_JoystickGetHat returns the current state of the given \fBhat\fR on the given \fBjoystick\fR\&.
    1.15 -.SH "RETURN VALUE"
    1.16 -.PP
    1.17 -The current state is returned as a Uint8 which is defined as an OR\&'d combination of one or more of the following
    1.18 -.IP "" 10
    1.19 -\fBSDL_HAT_CENTERED\fP
    1.20 -.IP "" 10
    1.21 -\fBSDL_HAT_UP\fP
    1.22 -.IP "" 10
    1.23 -\fBSDL_HAT_RIGHT\fP
    1.24 -.IP "" 10
    1.25 -\fBSDL_HAT_DOWN\fP
    1.26 -.IP "" 10
    1.27 -\fBSDL_HAT_LEFT\fP
    1.28 -.IP "" 10
    1.29 -\fBSDL_HAT_RIGHTUP\fP
    1.30 -.IP "" 10
    1.31 -\fBSDL_HAT_RIGHTDOWN\fP
    1.32 -.IP "" 10
    1.33 -\fBSDL_HAT_LEFTUP\fP
    1.34 -.IP "" 10
    1.35 -\fBSDL_HAT_LEFTDOWN\fP
    1.36 -.SH "SEE ALSO"
    1.37 -.PP
    1.38 -\fI\fBSDL_JoystickNumHats\fP\fR
    1.39 -...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00