![]() |
|
[DS4] Native DualShock 4 Rumble - Printable Version +- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org) +-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support) +--- Forum: Controllers (https://forums.dolphin-emu.org/Forum-controllers) +--- Thread: [DS4] Native DualShock 4 Rumble (/Thread-ds4-native-dualshock-4-rumble) |
[DS4] Native DualShock 4 Rumble - QtheConqueror - 08-11-2022 Compatibility for the DS4 is pretty much plug and play for Dolphin. Everything works... except rumble. While using DInput there are no motors to select for the controller. People have gotten around this by using wrappers, such as DS4Windows, to emulate an XInput. However, a wapper-less solution would be nice to reduce setup complication, the need for other software, and the odds of additional latency. Rumble does work for DS4 when supported. There are games on PC that support DS4 rumble. ("Void Bastards" for example) Gamepad Tester is able to send vibration to a DS4 controller. (Tested on Chrome) This situation is not new to DualShock 4 on PC, and people have had discussions about support: DS4 Rumble through DInput There are also libraries to help developers support the controllers: JoyShockLibrary Additional Discussions: DirectInput vibration is not working #288 Dualshock 4 Vibration #168 tldr; Native support would remove the need for additional software and decrease setup complexity RE: [DS4] Native DualShock 4 Rumble - mbc07 - 08-11-2022 Rumble is supported if you map the DualShock 4 via WGInput instead of DInput. SDL should work too... RE: [DS4] Native DualShock 4 Rumble - QtheConqueror - 08-11-2022 (08-11-2022, 02:58 PM)mbc07 Wrote: Rumble is supported if you map the DualShock 4 via WGInput instead of DInput. SDL should work too... Oh that would be nice. Hmm.. maybe I don't have WGInput setup correctly. When I connect my DS4 controller I see "DInput/0/Wireless Controller" and "WGInput/0/HID-compliant-gamepad", but neither have any motors listed. Are there setup steps I have to do with WGInput? I have never touched it before. RE: [DS4] Native DualShock 4 Rumble - QtheConqueror - 08-12-2022 @mbc07 I saw when WGInput support was added (Pull Request #7614), you had a similar issue with rumble for the newer controller model CUH-ZCT2x, which I also have. Was there a fix for this? RE: [DS4] Native DualShock 4 Rumble - mbc07 - 08-12-2022 With WGInput, rumble works both wired and wireless with the first version (CUH-ZCT1x) but only wired with the second version (CUH-ZCT2x). With SDL, rumble works both wired and wireless on both controller versions. So, in your case, use SDL... RE: [DS4] Native DualShock 4 Rumble - QtheConqueror - 08-12-2022 (08-12-2022, 04:38 AM)mbc07 Wrote: With WGInput, rumble works both wired and wireless with the first version (CUH-ZCT1x) but only wired with the second version (CUH-ZCT2x). With SDL, rumble works both wired and wireless on both controller versions. So, in your case, use SDL... Thank you for the help! I didn't know SDL existed until you brought it up. I was on beta 5.0-16793 but then updated to dev 5.0-16861 and then SDL showed up. It is all working now (buttons, rumble ...even motion!) Btw I was using the controller wired. Even with that, WGInput strangely had no rumble in both versions. |