Skip to content

API Function chordOf

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Function: chordOf()

function chordOf(
   modifier, 
   control, 
   rest?
): Omit<MappingSpec, "action">;

Defined in: src/engine/input/actions.ts:108

Composite: a control that counts only while modifier (or every one of several) is held: Shift+B.

Parameters

modifier

string | readonly string[]

control

string

rest?

Omit<MappingSpec, "action" | "composite"> = {}

Returns

Omit<MappingSpec, "action">

Clone this wiki locally