SDL_JoystickNumHats

Name

SDL_JoystickNumHats -- Get the number of joystick hats

Synopsis

uses
SDL;

function SDL_JoystickNumHats( joystick : PSDL_Joystick ) : Integer;

Description

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

Return Value

Number of hats.

See Also

SDL_JoystickGetHat , SDL_JoystickOpen