4WD with XY-joystick and L293D issue

What does that code looks like?