Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

DS4 Rumble through DInput #698

Closed
Polymega opened this issue May 11, 2019 · 2 comments
Closed

DS4 Rumble through DInput #698

Polymega opened this issue May 11, 2019 · 2 comments

Comments

@Polymega
Copy link

Polymega commented May 11, 2019

Hi @Ryochan7 ,

Thanks for keeping the DS4Windows dream alive and well! I wanted to pick your brain about DS4's capabilities as a DInput device, if that's alright?

The DS4 controller can act as a simple plug-and-play DInput gamepad, as you know. But rumble doesn't seem to work if it's used as a DInput device. A cursory Google search shows people having no rumble support for games like Rocket League and FFXIV using the controller "out of the box" for PC games.

Long story short: Has it ever been determined/figured out why rumble doesn't work out of the box for the DS4? All other DInput functionalities seem to work, so I always found that odd...

@Ryochan7
Copy link
Owner

A lot of games supporting DirectInput just don't support force feedback through DirectInput. Rocket League is one that I can test that I know does not work. However, force feedback works through the virtual DS4 in HTM5 Gamepad Tester so rumble support does work when supported.

https://html5gamepad.com/

@Polymega
Copy link
Author

Polymega commented May 11, 2019

Interesting. So Pysonix (Rocket League devs) just didn't bother to implement code for DInput vibration. And yes, I became more confused once I received vibration from HTML5 Gamepad Tester some months back, too.

I was primarily asking as we recently restored vibration for Silent Hill 2 PC that benefits both DInput and XInput gamepads (even though the patch name says "XInputVibration"):

https://github.com/elishacloud/Silent-Hill-2-Enhancements/blob/master/Patches/XInputVibration.cpp

Vibration is restored for Xbox controllers and generic DInput-based PC gamepads... except DS4. Complete head-scratcher on our part.

Thanks for the response!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants