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

    Function createGlobalSequenceProcessor

    • Create a processor for global multi-key sequences.

      Handles two sub-steps in order:

      1. Drain any active global pending sequence.
      2. Try to start a new sequence from registered entries.

      Manages pending-sequence state, timeout resets, sequence disambiguation between entries sharing a first key, and exclusive mode key consumption. Entries are matched against the phase via their affectLayer field.

      Type Parameters

      • TComponent

      Parameters

      • config: { affectOverlay: boolean }
        • affectOverlay: boolean

          Which priority group this processor serves.

      Returns PipelineProcessor<TComponent>

      A PipelineProcessor for the global sequence stage.