how do you use xbox 360 controller?

what code do you use for mapping the thunmb movement?
all I can see in manual is button mapping for joystick.