BindingDescription

One action's bindings, described for a controls legend - see ControlMap.describeBindings().

Properties

  • name (string) — The action name passed to bindAction().
  • label (string) — Its label, or the name capitalized when it has none.
  • buttons (Array.<string>) — Display names of every bound button, remote first, without repeats (e.g. ["OK", "X"]).
  • remoteButtons (Array.<string>) — Display names of just the remote's buttons, and just the controller's.
  • controllerButtons (Array.<string>)
  • text (string) — ": <buttons joined with ' / '>", e.g. "Attack: OK / X".