DOKK / manpages / debian 11 / libsdl1.2-dev / SDL_JoystickNumHats.3.en
SDL_JoystickNumHats(3) SDL API Reference SDL_JoystickNumHats(3)

SDL_JoystickNumHats - Get the number of joystick hats

#include "SDL.h"

int SDL_JoystickNumHats(SDL_Joystick *joystick);

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

Number of hats.

SDL_JoystickGetHat, SDL_JoystickOpen

Tue 11 Sep 2001, 23:00 SDL