So I've tried Jekyll's solution and it did not work for me. What I did find, however, was that if I turn off all other programs in the background except for FF14, the issue doesn't happen. In particular the issue appears to happen when the chat program Trillian is open in the background. I still suspect the issue is with FF14 and not Trillian, as I can use controllers with other games perfectly fine.