Add subscribable keyboard event handler