Try to Calibrate it within the xiv system settings as they're specific to that game..

You might find if the right stick was ever so slightly off-centre the first time you connected it. It'll have misconfigured the zero point or rest point.

And if it works fine everywhere else then it is likely the in game calibration that needs adjusting