use keysDown for input signal