An xbox game controller shows up in your code looking like any other joystick.
In your code you have to map the buttons and sticks to whatever you want them to do.
For example, to setup a 2-stick tank drive you might use Axis 2 for the left drive and Axis 5 for the right drive.