Skip to content

IInputContext.GetGamepadRightStick(int) Method

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

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

Parameters

gamepadIndex System.Int32

Returns

System.Numerics.Vector2