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

    Variable builtinProcessorWeightsConst

    builtinProcessorWeights: {
        "composition-overlay": 7000;
        "composition-screen": 3000;
        "global-key-overlay": 5000;
        "global-key-screen": 1000;
        "global-sequence-overlay": 6000;
        "global-sequence-screen": 2000;
        layer: 4000;
        modal: 8000;
        "screen-stack": 0;
    } = ...

    Default weights of the built-in pipeline processors, keyed by processor id.

    Higher weight runs earlier; equal weights share one stage and run in insertion order. The weights descend from modal (the barrier that must run first) to screen-stack in steps of 1000, leaving headroom for custom processors to slot between the built-ins — e.g. a processor that must run before the modal barrier can use builtinProcessorWeights.modal + 1.

    Type Declaration

    • Readonlycomposition-overlay: 7000
    • Readonlycomposition-screen: 3000
    • Readonlyglobal-key-overlay: 5000
    • Readonlyglobal-key-screen: 1000
    • Readonlyglobal-sequence-overlay: 6000
    • Readonlyglobal-sequence-screen: 2000
    • Readonlylayer: 4000
    • Readonlyscreen-stack: 0