Senior Community Manager
If the game supports the Official Xbox controller - you just need to install it and it should work.
You will need a wired official [not 3rd party] controller and the driver software from Microsoft.
The wireless versions, may work, as long as your have the wireless adaptor as well - but some titles may have problems, so the wired one is not only cheaper, but also more reliable.
Once you have installed it, it should work automatically in all games which support it.