Quick Reference
Getting Information 1
| name() | The name of the control for one of the battle's actions: "ok", "cancel", "left", "right", or a name of F.KEYS… |
Getting Information
name
static sourceControls.name(action, device)
The name of the control for one of the battle's actions: "ok", "cancel", "left", "right", or a name of F.KEYS / "skip".
Other
used
static sourceControls.used(device)
A key or the mouse was used ("keys"), or a gamepad ("pad"): the names shown follow.
keyName
static sourceControls.keyName(code)
A key as a player knows it; "" for one with no name.
label
static sourceControls.label(symbol, device)
The name of the key (for a pad: the button) that gives an Input symbol; "" when none does.