RedHat 9 (Linux i386) - man page for sdl_joysticknumhats (redhat section 3)
SDL_JoystickNumHats(3) SDL API Reference SDL_JoystickNumHats(3)NAMESDL_JoystickNumHats- Get the number of joystick hatsSYNOPSIS#include "SDL.h" int SDL_JoystickNumHats(SDL_Joystick *joystick);DESCRIPTIONReturn the number of hats available from a previously opened SDL_Joystick.RETURN VALUENumber of hats.SEE ALSOSDL_JoystickGetHat, SDL_JoystickOpenSDLTue 11 Sep 2001, 23:00 SDL_JoystickNumHats(3)