what code would i need to get a keypress in side of a timer?