Talos docs

Bindings

Since 0.6

This behavior's name → the ctx.input action name(s) it reads.

Plain text

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

MemberSignatureDescription
axesaxes: Record<string, string>
buttonsbuttons: Record<string, string[]>