@cartridge-engine/keyboard-engine
    Preparing search index...

    Interface BaseFocusTarget

    Base keyboard state shared by FocusTarget and PageFocusTarget.

    interface BaseFocusTarget {
        actionKeysMap: Map<string, string[]>;
        allowedKeys: KeyRule[];
        penetrationKeys: KeyRule[];
        refCount?: number;
        stoppedKeys: KeyRule[];
    }

    Hierarchy (View Summary)

    Index
    actionKeysMap: Map<string, string[]>

    Maps action IDs to the normalized keys that trigger them (for stopAction).

    allowedKeys: KeyRule[]

    Keys allowed to pass through a modal barrier while this focus target is active.

    penetrationKeys: KeyRule[]

    Key rules marked as transparent on this target (pass-through).

    refCount?: number

    Number of live bindings holding this target.

    Only maintained when the engine runs with releaseFocusWhenEmpty; the target is removed once the last holder releases it (see LayerManager.releaseFocus). Optional so the exported type stays backwards compatible — the engine always initializes it.

    stoppedKeys: KeyRule[]

    Key rules stopped on this target (propagation barrier).