GetRawJoystickButtonState

Description

Returns 1 if the given button is currently down, otherwise returns 0. To detect the instance that a button is pressed or released use GetRawJoystickButtonPressed or GetRawJoystickButtonReleased.

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

Definition

integer GetRawJoystickButtonState( index, button )

Parameters