KeyAxisBinding Class
Definition
Namespace: Brine2D.Input
Binds two keys to a single axis \(−1 to 1\). Useful for keyboard-driven movement \(e\.g\., A/D or Left/Right\).
C#
public sealed record KeyAxisBinding : Brine2D.Input.InputBinding, System.IEquatable<Brine2D.Input.KeyAxisBinding>
Inheritance System.Object → InputBinding → KeyAxisBinding
Implements System.IEquatable<KeyAxisBinding>
| Constructors | |
|---|---|
| KeyAxisBinding\(Key, Key\) | Binds two keys to a single axis \(−1 to 1\). Useful for keyboard-driven movement \(e\.g\., A/D or Left/Right\). |