Simplified keyPress()