Added keyboard input (not per-char ASCII input, though; that's next).