block responds to keyboard input