polling input status