mwg API
    Preparing search index...

    Interface RebindScreenOptions

    interface RebindScreenOptions {
        actions: readonly string[];
        height: number;
        label?: (action: string) => string;
        onConflict?: (
            key: string,
            action: string,
            previousOwners: readonly string[],
        ) => boolean;
        rowHeight?: number;
        width: number;
    }
    Index
    actions: readonly string[]

    which actions to list, and in what order

    height: number
    label?: (action: string) => string

    a label for an action, mwg never invents a display name of its own

    onConflict?: (
        key: string,
        action: string,
        previousOwners: readonly string[],
    ) => boolean

    Asked before a captured key already claimed by another action is taken from it - Input.actionsForKey (item 94) is exactly the query behind previousOwners. Return false to refuse the capture and leave every binding untouched, for a game that wants to warn and ask first rather than silently losing the old binding. Omit it to always take the key over, which is this screen's default.

    rowHeight?: number
    width: number