a class for user input to a processing sketch.