I'm in the process of building a new control box with higher voltage drivers, new BOB etc.

The front panel will have various new controls such as power on/off, e-stop, ancillaries (lights, pump,etc.), VFD on/off and speed, all of which will be hardware controlled through simple circuits.

I'll also add buttons to control cycle start/feedhold/stop, and feedrate override up/down buttons. I'm hoping to do this bit through something like pokeys. Now to my question.

To control the feedrate override up/down I will have 2 seperate momentary push button switches to increment the feedrate in small steps, emulating a keyboard input. Is it possible instead to employ some sort of rotary momentary switch? The idea being that as I turn an infinite dial it clicks past detents which send a pulse to the pokeys system to emulate a key push. I think there would be two sets of detents so it would know whether the dial is being turned clockwise or anti-clockwise.

I've been looking at this:
http://www.ebay.co.uk/itm/5-Pin-Digi...ht_1230wt_1190

Would this do it? If so, how would you expect the 5 pins to be wired up?

Thanks