rotary encoder

US Digital sells a chip that connects to the encoder and has a count up, count down output.