Here is what I use on my PC for an Xbox 360 controller:
profile= Controller_(XBOX_360_For_Windows)
device= Controller_(XBOX_360_For_Windows)
player= 1
number_of_buttons= 10
number_of_povs= 1
number_of_axis= 5
VPAD_VIRTUAL_BUTTON_START= button 10
VPAD_VIRTUAL_BUTTON_SELECT= button 9
VPAD_VIRTUAL_BUTTON_CROSS= button 1
VPAD_VIRTUAL_BUTTON_CIRCLE= button 2
VPAD_VIRTUAL_BUTTON_SQUARE= button 3
VPAD_VIRTUAL_BUTTON_TRIANGLE= button 4
VPAD_VIRTUAL_BUTTON_L1= button 5
VPAD_VIRTUAL_BUTTON_R1= button 6
VPAD_VIRTUAL_BUTTON_L2= button 7
VPAD_VIRTUAL_BUTTON_R2= button 8
VPAD_VIRTUAL_BUTTON_L3= not_assigned -1
VPAD_VIRTUAL_BUTTON_R3= not_assigned -1
VPAD_VIRTUAL_BUTTON_DPAD_UP= pov0 1
VPAD_VIRTUAL_BUTTON_DPAD_DOWN= pov180 1
VPAD_VIRTUAL_BUTTON_DPAD_LEFT= pov270 1
VPAD_VIRTUAL_BUTTON_DPAD_RIGHT= pov90 1
VPAD_VIRTUAL_BUTTON_L_STICK_RIGHT= axis- 1
VPAD_VIRTUAL_BUTTON_L_STICK_LEFT= axis+ 1
VPAD_VIRTUAL_BUTTON_L_STICK_UP= axis+ 2
VPAD_VIRTUAL_BUTTON_L_STICK_DOWN= axis- 2
VPAD_VIRTUAL_BUTTON_R_STICK_RIGHT= axis- 3
VPAD_VIRTUAL_BUTTON_R_STICK_LEFT= axis+ 3
VPAD_VIRTUAL_BUTTON_R_STICK_UP= axis+ 4
VPAD_VIRTUAL_BUTTON_R_STICK_DOWN= axis- 4
VPAD_PITCH_1= button 1
VPAD_PITCH_2= button 2
VPAD_PITCH_3= button 3
VPAD_PITCH_4= button 4
VPAD_PITCH_5= button 6
VPAD_FIELD_PICK_OFF_THROW_FIRST= button 2
VPAD_FIELD_PICK_OFF_THROW_SECOND= button 4
VPAD_FIELD_PICK_OFF_THROW_THIRD= button 3
VPAD_PITCH_OUT= button 1
VPAD_THROW_BALL= not_assigned -1
VPAD_INTENTIONAL_WALK= not_assigned -1
VPAD_INTENTIONAL_HITBATTER= button 5
VPAD_PITCH_HISTORY_OPEN= button 7
VPAD_SWING_NORMAL= button 1
VPAD_SWING_BUNT= button 4
VPAD_CHARGE_MOUND= button 4
VPAD_FIELD_THROW_FIRST= button 2
VPAD_FIELD_THROW_SECOND= button 4
VPAD_FIELD_THROW_THIRD= button 3
VPAD_FIELD_THROW_HOME= button 1
VPAD_FIELD_SWITCH= button 5
VPAD_FIELD_RELAY_THROW= button 8
VPAD_FIELD_CUTOFF_THROW= button 8
VPAD_FIELD_FAKE_RUNDOWN_THROW= button 6
VPAD_RUNNER_FIRST_SELECT= button 2
VPAD_RUNNER_SECOND_SELECT= button 4
VPAD_RUNNER_THIRD_SELECT= button 3
VPAD_RUNNER_RUNFIRST= pov90 1
VPAD_RUNNER_RUNSECOND= pov0 1
VPAD_RUNNER_RUNTHIRD= pov270 1
VPAD_RUNNER_RUNHOME2SCORE= pov180 1
VPAD_BASERUNNER_ADVANCEALL= axis- 3
VPAD_BASERUNNER_RETREATALL= axis+ 3