https://plutonium.pw/docs/controllers/
All XBOX Controllers should be Plug-and-Play right away, since XBOX is owned by Microsoft.
You can try and reinstall the drivers for the controller, or try with other XBOX controller. If the other one works, then it might be that your controller is dying.