Skip to content

API Interface UIControlMapperCell

github-actions[bot] edited this page Dec 3, 2026 · 4 revisions

Interface: UIControlMapperCell

Defined in: src/plugins/ui/runtime/UIControlMapper.ts:63

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

Properties

action

readonly action: string;

Defined in: src/plugins/ui/runtime/UIControlMapper.ts:65

The action of the cell's row.


adds

readonly adds: boolean;

Defined in: src/plugins/ui/runtime/UIControlMapper.ts:74

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


button

readonly button: UIButton;

Defined in: src/plugins/ui/runtime/UIControlMapper.ts:80

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/plugins/ui/runtime/UIControlMapper.ts:76

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


conflict

readonly conflict: boolean;

Defined in: src/plugins/ui/runtime/UIControlMapper.ts:78

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


device

readonly device: UIControlMapperDevice;

Defined in: src/plugins/ui/runtime/UIControlMapper.ts:66


icons

readonly icons: readonly string[];

Defined in: src/plugins/ui/runtime/UIControlMapper.ts:70

The glyphs' icon keys.


label

readonly label: string;

Defined in: src/plugins/ui/runtime/UIControlMapper.ts:68

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/plugins/ui/runtime/UIControlMapper.ts:72

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

Clone this wiki locally