Original Post
The other day I wrote some code using mmsystem.h and joyGetPosEx to read from my Xbox 360 controller, and it worked fine. The only exceptions were that the d-pad didn't register and the triggers were combined into one axis, but that was fine for my purposes. However I remember seeing recently that some people still recommend DirectInput for joysticks (as opposed to keyboard/mouse where it's deprecated). So I looked into that and although it seems to support lots more information (eg. axis rotation, velocity, etc), most of that I don't need. It also only seems to support 5 axes at most (x, y, z, plus rglSlider[2]) which implies it's not going to give an advantage over joyGetPosEx on that front. So does anybody have any experience of comparing these two systems have anything to say regarding them? I doubt I'll ever have any need to read a torque value or more than 15 buttons, if that makes a difference.