SDL_JoystickNumButtons

Name

SDL_JoystickNumButtons -- Get the number of joysitck buttons

Synopsis

uses
SDL;

function SDL_JoystickNumButtons( joystick : PSDL_Joystick ) : Integer;

Description

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

Return Value

Number of buttons.

See Also

SDL_JoystickGetButton , SDL_JoystickOpen