Controlling 4 steppers with a joy stick

Hi, i am currently using an Arduino uno, 4 steppers, 4 tb6600 drivers and a joystick to control a miniature Skycam like device, i need 2 pairs of motors (1 pair going clockwise and the other counter clockwise) working together. I am stuck with what code to use to control these. Here is a bit of a better way of explaining it...
X-axis right - motor 1&2 clockwise motor 3&4 Counter clockwise
X-axis left - motor 1&2 Counter clockwise motor 3&4 clockwise
Y-axis forward- motor 1&3 clockwise motor 2&4 Counter clockwise
Y-axis back- motor 1&3 Counter clockwise motor 2&4 clockwise
Any advice or example code would be very much appreciated on how to get the joystick to do this.

int XMotion = analogRead(XAxisPin) - 512;
int YMotion = analogRead(YAxisPin) - 512;

// Add a dead zone so a nearly-centered joystick 
// doesn't cause creep
if (XMotion >= -DeadZone && XMotion <= DeadZone)
  XMotion = 0;
if (YMotion >= -DeadZone && YMotion <= DeadZone)
  YMotion = 0;

int Motor1Motion = XMotion + YMotion;
int Motor2Motion = XMotion - YMotion;
int Motor3Motion = -XMotion + YMotion;
int Motor4Motion = -XMotion - YMotion;