Set the two limits and the initial output. The hysteresis width is the distance between the limits.
Move the input slowly up and down. The output only changes when the input reaches one of the limits.
Changing a parameter restarts the hysteresis from the initial output.