Skip to content

KeyAxisBinding(Key, Key) Constructor

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 KeyAxisBinding(Brine2D.Input.Key Positive, Brine2D.Input.Key Negative);

Parameters

Positive Key

Negative Key