Do you have that plugged into an externally powered USB port? Or just into the computer?
Have the LED's turned down/off?
X52's are power hogs, once they run a little short they tend to lose their brain.
Try disconnecting the stick from the computer, reboot, once computer is fully up reinstall stick.
Calibrate in windows first! then again in AH.
If its still iffy, then add damping to each axis as needed.
Chances are your going to be looking at a new stick in the near future.
But there is a chance that removing it, reinstalling it will straighten it out.
Good luck.