I couldn't extensively try on the computer of my friend, but based on a quick search and some experimentation, it seems that unless every DInput device is disconnected, the game refuses XInput controllers.
EDIT: I guess it may follow this implemented very badly