A trimmed version of the pommed hotkey handler for macbooks