Added infinite encoder reading to user input class