Skip to content

IInputContext.IsGamepadTriggerPressed(GamepadAxis, int) Method

Definition

Namespace: Brine2D.Input

Returns true if the gamepad trigger crossed the deadzone threshold this frame (was inactive last frame, active now).

bool IsGamepadTriggerPressed(Brine2D.Input.GamepadAxis trigger, int gamepadIndex=0);

Parameters

trigger GamepadAxis

gamepadIndex System.Int32

Returns

System.Boolean