Listen to key press events and trigger taps