Skip to content

IInputContext.IsGamepadAxisReleased(GamepadAxis, int) Method

Definition

Namespace: Brine2D.Input

Returns true if the gamepad axis dropped below the deadzone threshold this frame (was active last frame, inactive now).

bool IsGamepadAxisReleased(Brine2D.Input.GamepadAxis axis, int gamepadIndex=0);

Parameters

axis GamepadAxis

gamepadIndex System.Int32

Returns

System.Boolean