1 .TH "SDL_JoystickGetHat" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference"
3 SDL_JoystickGetHat\- Get the current state of a joystick hat
8 \fBUint8 \fBSDL_JoystickGetHat\fP\fR(\fBSDL_Joystick *joystick, int hat\fR);
11 SDL_JoystickGetHat returns the current state of the given \fBhat\fR on the given \fBjoystick\fR\&.
14 The current state is returned as a Uint8 which is defined as an OR\&'d combination of one or more of the following
16 \fBSDL_HAT_CENTERED\fP
28 \fBSDL_HAT_RIGHTDOWN\fP
32 \fBSDL_HAT_LEFTDOWN\fP
35 \fI\fBSDL_JoystickNumHats\fP\fR
36 ...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00