If working in Java or C++, it can be helpful to write a utility class for the Xbox controller so you don't have to remember what button/axis number maps to each physical one.
Here's what my team uses. Then you can just use it like any other joystick but with additional functionality.