This is needed for global hotkeys. In the best of worlds, I think the global hotkey plugins would directly get the list of keycodes to grab using a dedicated plugin type. This would avoid the need to replicate hotkey configuration parsing. But it would need some more work.
Showing with 2 additions and 1 deletion