Updated code for use with two joysticks. Tested and working with two attack 3 joysticks.