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?