Began input handling.