Making a joystick control for two servos to hold position

I just changed the input pin number to the ones I have servos connected to in your code.

Instead of byte servoPin[4] = {12, 11, 10, 9};

I put byte servoPin[4] = {7, 6, 10, 9};