   DirectInput with PS2 to USB connecter
  alright guys?I'm trying to program the use of both analogue sticks on a PS2 pad using one of those PS2 to USB connectors.  It all works in the control panel, and I can aquire the device etc...and even fill the JOYSTATE1 structure.  however the values that are beig filled in the structure aren't fine enough, for example I cant seem to go diagonal in any direction.  I've tried setting various things, deadzones etc... but it doesnt seem to change.  Also, if I use a deadzone of less than 50% ( i.e 5000 ) then when the sticks go back to the center, the values that are filled in the structure are always different, so I never know when the sticks are centered.Anyone else have these problems? or know how to fix it?thanks,   
Quote:Original post by RavNazalright guys?I'm trying to program the use of both analogue sticks on a PS2 pad using one of those PS2 to USB connectors.  It all works in the control panel, and I can aquire the device etc...and even fill the JOYSTATE1 structure.  however the values that are beig filled in the structure aren't fine enough, for example I cant seem to go diagonal in any direction.  I've tried setting various things, deadzones etc... but it doesnt seem to change.  Also, if I use a deadzone of less than 50% ( i.e 5000 ) then when the sticks go back to the center, the values that are filled in the structure are always different, so I never know when the sticks are centered.Anyone else have these problems? or know how to fix it?thanks,To be honest, I would recommend purchasing a cheap PS2 clone controller that's designed specifically for the PC. Sometimes Console to USB controller things don't work quite as well as expected. I learned this the hard way. Unless you specifically do/program the converstion yourself (I used to rewire a lot of old real NES/SNES/Genesis controllers, where I had the chance to make the interface system myself as such could make sure everything worked as expected).I just buy cheap $15 USB controllers when I want the look and feel of a PS2 controller. The Logitech Dual Action controller comes to mind. Not that great, but cheap and effective.   ;  my new xbox360 pc controller does exactly the same thing!!!!!  How can you program a joypad / joystick with these issues?????!!!!!  please help!   ;  For the XBox 360 PC Controller, you really should be using XInput.One other thing to check - have you got correct drivers for your hardware (if they exist)??Ages back I had a simple PS2-like controller I was working with that did the most random of things using the default windows driver (just a generic 2-this-2-that device). Installing the IHV's driver seemed to correctly map the buttons and the thing started working as I originally expected [smile]hthJack   ;  nice one I'll give that a go....cheers for your help   ;  Try pressing the Analog button if you haven't already. Probably a dumb suggestion, but I was dumb enough to overlook this for a while :)The deadzone thing is a problem for me too. The stick just physically doesn't recenter very well. If you find a way around this, please add it to this thread...   