Skip to content

IInputContext.IsAnyGamepadButtonPressed(int) Method

Definition

Namespace: Brine2D.Input

Returns true if any gamepad button was pressed this frame on the specified gamepad. Useful for "press any button to continue" screens.

bool IsAnyGamepadButtonPressed(int gamepadIndex=0);

Parameters

gamepadIndex System.Int32

Returns

System.Boolean