Bindings
Since 0.6
This behavior's name → the ctx.input action name(s) it reads.
Empty means the identity: every name reads the action of the same name, which is what the scene's own meta.input already named. Axes take one action; buttons take any number and OR together.
Signature
export interface Bindings {
axes: Record<string, string>
buttons: Record<string, string[]>
}
Import: import type { Bindings } from "@argus/gameplay"
Members
| Member | Signature | Description |
|---|---|---|
axes | axes: Record<string, string> | |
buttons | buttons: Record<string, string[]> |