logger: Implement keyboard grabbing for hooking the activation key