Skip to content

IInputContext.IsGamepadButtonPressed(GamepadButton, int) Method

Definition

Namespace: Brine2D.Input

Returns true if the gamepad button was pressed this frame.

bool IsGamepadButtonPressed(Brine2D.Input.GamepadButton button, int gamepadIndex=0);

Parameters

button GamepadButton

gamepadIndex System.Int32

Returns

System.Boolean