Skip to content

API Interface UIControlMapperCell

github-actions[bot] edited this page Nov 24, 2026 · 4 revisions

Interface: UIControlMapperCell

Defined in: src/engine/ui/controlMapper.ts:153

One binding cell: what it shows and the button that rebinds it.

Properties

action

readonly action: string;

Defined in: src/engine/ui/controlMapper.ts:155

The action of the cell's row.


adds

readonly adds: boolean;

Defined in: src/engine/ui/controlMapper.ts:164

True when the action has no binding for this device: rebinding the cell adds one.


button

readonly button: UIButton;

Defined in: src/engine/ui/controlMapper.ts:170

The button: click it (or focus it and press Enter, Space or the south button) to rebind; focus it and press Delete or Backspace to unbind.


chord

readonly chord: boolean;

Defined in: src/engine/ui/controlMapper.ts:166

A chord (modifiers and a main control): its rebind takes the controls pressed together.


conflict

readonly conflict: boolean;

Defined in: src/engine/ui/controlMapper.ts:168

True when another listed action's binding for this device uses the same control.


device

readonly device: UIControlMapperDevice;

Defined in: src/engine/ui/controlMapper.ts:156


icons

readonly icons: readonly string[];

Defined in: src/engine/ui/controlMapper.ts:160

The glyphs' icon keys.


label

readonly label: string;

Defined in: src/engine/ui/controlMapper.ts:158

The control's label ("Space", "A", "Shift+B"), or the none text when the device has no binding.


part

readonly part: string | null;

Defined in: src/engine/ui/controlMapper.ts:162

The rebind part (control, up…), or null when there's no binding to rebind.

Clone this wiki locally