GamepadAxisBinding Class

Binds a gamepad stick axis (−1 to 1) with per-axis deadzone applied. Note: this uses a per-axis (not radial) deadzone comparison. A stick at 45° with small magnitude may report as active here while GetGamepadLeftStick(int) / GetGamepadRightStick(int) return System.Numerics.Vector2.Zero due to their radial deadzone. Use the stick helpers or GamepadStickBinding when you need consistent 2D directional input.

public sealed record GamepadAxisBinding : Brine2D.Input.InputBinding, System.IEquatable<Brine2D.Input.GamepadAxisBinding>

Inheritance System.ObjectInputBinding → GamepadAxisBinding

Implements System.IEquatable<GamepadAxisBinding>

Constructors
GamepadAxisBinding(GamepadAxis, int) Binds a gamepad stick axis (−1 to 1) with per-axis deadzone applied. Note: this uses a per-axis (not radial) deadzone comparison. A stick at 45° with small magnitude may report as active here while GetGamepadLeftStick(int) / GetGamepadRightStick(int) return System.Numerics.Vector2.Zero due to their radial deadzone. Use the stick helpers or GamepadStickBinding when you need consistent 2D directional input.