logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_JoystickNumHats - Get the number of joystick hats

Description

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

Name

       SDL_JoystickNumHats - Get the number of joystick hats

Return Value

       Number of hats.

See Also

SDL_JoystickGetHat, SDL_JoystickOpen

SDL                                          Tue 11 Sep 2001, 23:00                       SDL_JoystickNumHats(3)

Synopsis

#include"SDL.h"intSDL_JoystickNumHats(SDL_Joystick*joystick);

See Also