Many people did suggestions like unplug replug your xbox controller if it works in other games.
That wouldn’t work for me but i have other usb device and a G13 Keyboard *with joystick* by going to device manager > human interface devices > Logitech G13 Joystick and disabling it my xbox controller was working fine in the game.