Event framework for global hotkey hookup