Using the given (infrared) encoders is not too hard with a little extra circuitry.
JPG:
Schematic (eagle): Eagle