• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Controllers v
« Previous 1 ... 5 6 7 8 9 ... 321 Next »

[DS4] Native DualShock 4 Rumble
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[DS4] Native DualShock 4 Rumble
08-11-2022, 12:01 PM
#1
QtheConqueror Offline
Junior Member
**
Posts: 4
Threads: 1
Joined: Aug 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
Find
Reply
08-11-2022, 02:58 PM
#2
mbc07 Offline
Wiki Caretaker
*******
Content Creators (Moderators)
Posts: 3,577
Threads: 47
Joined: Dec 2010
Rumble is supported if you map the DualShock 4 via WGInput instead of DInput. SDL should work too...
Avell A70 MOB: Core i7-11800H, GeForce RTX 3060, 16 GB DDR4-3200, Windows 11 (Insider Preview)
ASRock Z97M OC Formula: Pentium G3258, GeForce GT 440, 16 GB DDR3-1600, Windows 10 (22H2)
Find
Reply
08-11-2022, 04:31 PM (This post was last modified: 08-12-2022, 03:01 AM by QtheConqueror. Edit Reason: Typo in WGInput name )
#3
QtheConqueror Offline
Junior Member
**
Posts: 4
Threads: 1
Joined: Aug 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.
Find
Reply
08-12-2022, 03:48 AM (This post was last modified: 08-12-2022, 05:24 AM by QtheConqueror.)
#4
QtheConqueror Offline
Junior Member
**
Posts: 4
Threads: 1
Joined: Aug 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?
Find
Reply
08-12-2022, 04:38 AM
#5
mbc07 Offline
Wiki Caretaker
*******
Content Creators (Moderators)
Posts: 3,577
Threads: 47
Joined: Dec 2010
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...
Avell A70 MOB: Core i7-11800H, GeForce RTX 3060, 16 GB DDR4-3200, Windows 11 (Insider Preview)
ASRock Z97M OC Formula: Pentium G3258, GeForce GT 440, 16 GB DDR3-1600, Windows 10 (22H2)
Find
Reply
08-12-2022, 05:58 AM
#6
QtheConqueror Offline
Junior Member
**
Posts: 4
Threads: 1
Joined: Aug 2022
Smile 
(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.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode