Potentiometer for PWM motor controller: how to deal with a limited input range?
I would use a slider something like this; Slider potentiometer.  I think it would be easier to make a linear mechanism than a rotary one.