view docs/man3/SDL_JoystickNumHats.3 @ 4438:7a53f8efc017 SDL-1.2

esigra 2010-04-17 03:53:57 PDT If this header file is supposed to be includable from C++ code, the code should of course use one of the SDL_*_cast macros from SDL_stdinc.h.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 23 Apr 2010 02:14:06 -0700
parents 1238da4a7112
children
line wrap: on
line source

.TH "SDL_JoystickNumHats" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
.SH "NAME"
SDL_JoystickNumHats \- Get the number of joystick hats
.SH "SYNOPSIS"
.PP
\fB#include "SDL\&.h"
.sp
\fBint \fBSDL_JoystickNumHats\fP\fR(\fBSDL_Joystick *joystick\fR);
.SH "DESCRIPTION"
.PP
Return the number of hats available from a previously opened \fBSDL_Joystick\fR\&.
.SH "RETURN VALUE"
.PP
Number of hats\&.
.SH "SEE ALSO"
.PP
\fI\fBSDL_JoystickGetHat\fP\fR, \fI\fBSDL_JoystickOpen\fP\fR
.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00