kernl API
    Preparing search index...

    Function createForwardedKeys

    • The filter in front of the guard for keys an applet forwards (D-054).

      The frame forwards every key it has no binding for, repeats included, so a held key arrives faster than any budget; counted like other traffic it would use up the applet's allowance and then quarantine it for the person's own typing. A repeat is discarded here, uncounted: the shell's shortcuts act on the press. So is a key from a window that is not focused, which the person cannot have typed there.

      Returns ForwardedKeys

      The filter.

      const forwarded = createForwardedKeys();
      forwarded.drops('w1', { type: 'keys.forward', key: 'a', code: 'KeyA' }, true, 0); // false: the press
      forwarded.drops('w1', { type: 'keys.forward', key: 'a', code: 'KeyA' }, true, 500); // true: its repeat