Hey, i'm currently trying to add gamepad support.
I don't want to rely on directx/xna so i was looking for a native approach. i found joyGetPosEx() and there's a bunch of examples how to p/invoke it correctly.
http://stackoverflow.com/questions/4416 ... ey-capture // Instructions
http://msdn.microsoft.com/en-us/library/dd757108.aspx // Method documentation
http://msdn.microsoft.com/en-us/library/dd757112.aspx // JOYINFOEX structure documentation
http://codepaste.net/tpmgas // My own code paste
The method returns 0, so no error is occuring. Axis info is correctly read into the struct and it's getting displayed accordingly.
However, there is no button info whatsoever.
The windows joystick configuration window recognizes the gamepad alright and the buttons work in the interface there, s the gamepad works fine.
Any ideas on what the problem might be?