Keyboard input implemented.