Pushbutton rotary encoder with only one pin?

OK just thinking out load here. You could use a Nx1 rotary switch (remove the stopper) to select various resistors and feed that into an analog input. You could detect the turning in either direction that way but I've not seen a rotary switch that also has a push button.


Rob