Check whether a global key entry should fire for the current event.
Evaluates key-name matching, category whitelist, and screen-level global-key override (cover mechanism).
The global key entry to evaluate.
Normalized key names from the current event.
The topmost screen component, or null.
Map of all page keyboard layers.
true if the global key matches and is not overridden.
// Inside a custom processor:for (const entry of resolvedGlobalKeys) { if (checkGlobalKey(entry, eventNames, ctx.topComponent, ctx.layersRef)) { entry.operate(); return true; }} Copy
// Inside a custom processor:for (const entry of resolvedGlobalKeys) { if (checkGlobalKey(entry, eventNames, ctx.topComponent, ctx.layersRef)) { entry.operate(); return true; }}
Check whether a global key entry should fire for the current event.
Evaluates key-name matching, category whitelist, and screen-level global-key override (cover mechanism).