I'm using the dev version of Flixel (I updated it about half an hour ago) and on the CPP target in Windows, the joypad support seems broken.
If I run the GamepadTest on my PC with an XBox 360 controller connected, the wrong buttons light up. For example pressing the D-Pad (hat) causes the A,B,X,Y buttons to light up. The right thumbstick seems stuck, and the start/select buttons on the controller are read as the LB and RB buttons.
According to my PC (Windows 7) the buttons map as follows (values come from the watch window in the Flixel debugger when running the GamepadTest program as a Windows build)
A - 10
B - 11
X - 12
Y - 13
LB - 8
RB - 9
Back - 5
Start - 4
DPAD_UP - 0
DPAD_DOWN - 1
DPAD_LEFT - 2
DPAD_RIGHT - 3
Moving the right thumbstick up and down moves its graphic up and down, but it is permanently "stuck" to the left
Pressing LT makes the right thumbstick image move from extreme left to extreme right, depending on how far I push it
Pressing RT appears to do nothing
In the Windows control panel, Controller (XBOX 360 for Windows) properties the controller is mapped like this:
Moving the left thumbstick makes the + in the "X Axis / Y Axis" box move correctly
Moving the right thumbstick left/right increases/decreases the X Rotation
Moving the right thumbstick up/down decreases/increases the Y rotation
Pressing LT increases Z Axis
Pressing RT decreases Z Axis
Moving the DPAD moves the Hat diagram appropriately
A,B,X,Y, LB, RB, Back, Start are buttons 1 through 8
Button 9 is pressing the left thumbstick
Button 10 is pressing the right thumbstick
In my copy of XboxButtonID.hx I'm able to alter the mappings for the buttons and the two thumbpads, but I can't quite figure out the DPAD or the LT/RT buttons.