https://bugs.winehq.org/show_bug.cgi?id=56602
Bug ID: 56602 Summary: DualShock 4 controller behaves incorrectly on Darwin with hidraw enabled Product: Wine Version: 9.6 Hardware: x86-64 OS: MacOS Status: UNCONFIRMED Keywords: hardware, regression Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: serves.dovish.0h@icloud.com CC: rbernon@codeweavers.com Regression SHA1: 173ed7e61b5b80ccd4d268e80c5c15f9fb288aa0 Regression SHA1: 173ed7e61b5b80ccd4d268e80c5c15f9fb288aa0 Component: -unknown CC: rbernon@codeweavers.com Keywords: hardware, regression
This may be a duplicate of https://bugs.winehq.org/show_bug.cgi?id=56306, but I’m opening a separate issue because Darwin is affected differently from Linux.
After 173ed7e61b5b80ccd4d268e80c5c15f9fb288aa0, my DualShock 4 controller (model: ZCT1U) behaves incorrectly.
* It is still identified as an xinput controller. * The d-pad is stuck in up-left. * The right stick is treated as the Z axis in dinput and as the triggers in xinput. * The triggers are treated as Rx and Ry in dinput and the right stick in xinput. * Buttons are mapped incorrectly: X = B, circle = X, triangle = Y, square = A, share = L3, options = R3. L3 and R3 on the gamepad do nothing. * Rumble does not work.
Reverting that commit fixes the issue as does disabling hidraw via the registry allows the controller to work again as expected.
System is macOS 14.4.1. Wine is Wine 9.6 from nixpkgs.
--- Comment #1 from Randy Eckenrode serves.dovish.0h@icloud.com --- This was found out playing FFXIV after a Wine update in nixpkgs, but the test was performed using joy.cpl to observe how the gamepad behaved in dinput and xinput.