Why not just use a mechanical switch at each position, put some capacitance in the input circuit for hysteresis/debouncing, and use relays to control direction?
/* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */