I've found that Steam sometimes overrides my controller settings and causes it not to be recognized properly in XIV. Closing Steam fixes it.

Also, under the the controller settings in the game it will sometimes list the same controller more than once. Changing to one of the other options will work for me.

For reference I use an XBOX One Controller (Bluetooth and/or plugged in).