If the automatic detection somehow gets it backwards, you could try to simply move the sticks in the opposite direction to what you are supposed to during calibration and see if that helps.