Trap keypress events and pass them along