Skip to content

API Interface UIControlMapperCell

github-actions[bot] edited this page Nov 29, 2026 · 3 revisions

Interface: UIControlMapperCell

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

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:64

The action of the cell's row.


adds

readonly adds: boolean;

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

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:79

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:75

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:77

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:65


icons

readonly icons: readonly string[];

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

The glyphs' icon keys.


label

readonly label: string;

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

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:71

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

Clone this wiki locally