GetRawJoystickButtonPressed

Description

Returns 1 if the given button was pressed this frame, otherwise returns 0. Once the button has been pressed this function returns to 0, to check the state of the button use GetRawJoystickButtonState.

AGK supports up to 64 joystick buttons in the range 1-64.

Definition

integer GetRawJoystickButtonPressed( index, button )

Parameters