Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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