just for reference for everyone else, here is a button/axis mapping for most of the xbox 360 controller, its missing the D-Pad. Please note that this is only what we came up for one so someone else confirming it would be nice.
button numbers
ButtonA = 1;
ButtonB = 2;
ButtonX = 3;
ButtonY = 4;
LeftBumper = 5;
RightBumper = 6;
Select = 7;
Start = 8;
LeftClick = 9;
RightClick = 10;
joystick axises
LeftXAxis = 1;
LeftYAxis = 2;
TriggerAxis = 3;
/* Both triggers are in this.
* Right Trigger is [-1,0]
* Left Trigger is [0,1]
* Return value = Right Trigger + Left Trigger */
RightXAxis = 4;
RightYAxis = 5;
please excuse the semicolons

as for the trigger mapping, it might be inversed of that, not sure been a while since we made this