Jump to content
  • Advertisement
Sign in to follow this  

Force Feedback

This topic is 4440 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, ive managed to get my PS2 controller working with DXInput, all buttons and axis, i'm hoping someone could point me in the direction of how to get force feedback and rumble working? Thanks!

Share this post


Link to post
Share on other sites
Advertisement
1) first determine whether the adapter you're using to connect the PS2 joypad to a Windows PC actually supports force feedback at all!, and exposes that FF functionality to DirectInput.

Try running the Feedback or FFConst samples from the DirectX Sample Browser in the DirectX SDK and see if those produce any feedback on the PS2 joypad.

If they do, you're good to go. If they don't then you'll have to consult with whoever manufactured the PS2->PC adapter - they may have implemented their own proprietary non-DirectInput/non-XInput API to expose the PS2 pad rumble; it may also need additional/updated DirectInput drivers (since neither Sony or Micrsoft make PS2 DualShock drivers for Windows/DirectInput, it all depends on the adapter manufacturer).


2) If the above samples do cause the PS2 pad to rumble, then take a look at the source code to the SDK samples mentioned above, look at the DirectInput documentation, and follow the link Omega147 posted.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!