I am a little puzzled about this, I can't see anything wrong in the code. Maybe you could try swapping you gamepad out to another port. I am aware of the button discrepancy, but I think, although I could be wrong this issue is specific to your system there. Sorry, no other ideas for now.