Help with coding please - Arduino+AdaMotorshield+joystick

Would it help you guys to see a schematic of how this project is wired up?

And the current code.