Making a joystick control for two servos to hold position

Why don't you use the code from my example and just substitute your values?

...R

PS ... if you have a link to the "excavator" example I would appreciate it as I can't find it.