Maybe a key is broken and it fills up the keyboard-stack. Normal applications usually use a different keyboard input method than games so they might work even if some key is constantly being pressed. Had a similar problem with my mouse and had to assign "No action" to the button to be able to do anything :P
Updating the keyboard drivers and resetting the ffxiv config might also be worth a try.