SDL_JoystickNumHats man page

SDL_JoystickNumHats — Get the number of joystick hats

Synopsis

#include "SDL.h"

int SDL_JoystickNumHats(SDL_Joystick *joystick);

Description

Return the number of hats available from a previously opened SDL_Joystick.

Return Value

Number of hats.

See Also

SDL_JoystickGetHat, SDL_JoystickOpen

Info

Tue 11 Sep 2001, 23:00 SDL SDL API Reference