Skip to content

IInputContext.GetGamepadRightStick(int) Method

Definition

Namespace: Brine2D.Input

Gets the right stick position as a vector \(\-1 to 1 for each axis\) with radial deadzone applied.

C#
System.Numerics.Vector2 GetGamepadRightStick(int gamepadIndex=0);

Parameters

gamepadIndex System.Int32

Returns

System.Numerics.Vector2