Provided by: libsdl1.2-dev_1.2.15+dfsg2-0.1ubuntu0.2_amd64 bug

NAME

       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