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 GetJoystickButtonState.
AGK supports up to 32 joystick buttons in the range 1-32.
integer GetRawJoystickButtonPressed( index, button )