can poll the button input status by java code, which calls button.c executable program