Mercurial > sdl-ios-xcode
view docs/man3/SDL_JoystickNumHats.3 @ 2938:2929ed239d2a
Adjusted default choice of audio driver.
If a driver can definitely see available devices, it is chosen. Otherwise,
we'll take the first driver that initializes but saw no devices...this might
be because it can't enumerate them, or there really aren't any available.
This prevents the dsp driver from hogging control when there are no /dev/dsp*
nodes (for example, on a Linux box with ALSA and no OSS emulation).
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 01 Jan 2009 07:54:58 +0000 |
parents | 546f7c1eb755 |
children | 1238da4a7112 |
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