Adding buttons to control stepper motor speed.

Sorry - to answer your other questions:

And the reason I'm using a joystick is because I have better control than using a switch of sorts. The reason the speed is not proportional is because on a telescope focuser I need precise steps - I tried proportional but could get the accuracy needed. hence the reason for having 3 different speed steps (low, med, high or slow, med, fast).