GamepadTriggerBinding Class
Binds a gamepad trigger (0 to 1) using GetGamepadTrigger(GamepadAxis, int). Unlike GamepadAxisBinding, this clamps to the 0–1 range and uses the trigger-specific pressed/released detection.
public sealed record GamepadTriggerBinding : Brine2D.Input.InputBinding, System.IEquatable<Brine2D.Input.GamepadTriggerBinding>
Inheritance System.Object → InputBinding → GamepadTriggerBinding
Implements System.IEquatable<GamepadTriggerBinding>
| Constructors | |
|---|---|
| GamepadTriggerBinding(GamepadAxis, int) | Binds a gamepad trigger (0 to 1) using GetGamepadTrigger(GamepadAxis, int). Unlike GamepadAxisBinding, this clamps to the 0–1 range and uses the trigger-specific pressed/released detection. |