Whisky-App / Whisky

A modern Wine wrapper for macOS built with SwiftUI
https://getwhisky.app
GNU General Public License v3.0
12.85k stars 272 forks source link

[Bug]: DualSense PS5 controller detected as XInput Controller on Steam #958

Open ansoncsau opened 7 months ago

ansoncsau commented 7 months ago

Description

My DualSense controller is detected as an Xbox contoller. It works fine. But the Steam UI and games show Xbox glyphs and revert LT and LB, RT and RB everywhere.

Although I tried to override the Wireless Controller in Connected (xinput device) section in Whisky Control Panel to make Steam detect the controller as a PS5 controller and remap all the buttons, it works in Steam big picture mode, the games (Cyberpunk 2077 and Eurotruck) don't detect the controller.

Steps to reproduce

Connect my DualSense controller via Bluetooth and open Steam Go to Steam Settings/ Controller, see XInput Controller as the controller name

Expected behaviour

Steam should detect the controller as DualSense Controller, just like my native Mac Steam does

Logs

Whisky Version: 2.3.2
Date: 2024-04-20T10:13:35Z
macOS Version: 14.4.1

Bottle Name: Steam
Bottle URL: /Users/anson/Library/Containers/com.isaacmarovitz.Whisky/Bottles/D8781462-7A34-4366-8ECB-38890AB34CF7

Wine Version: 7.7.0
Windows Version: win10
Enhanced Sync: msync

Metal HUD: false
Metal Trace: false

Arguments: start /unix /Users/anson/Library/Containers/com.isaacmarovitz.Whisky/Bottles/D8781462-7A34-4366-8ECB-38890AB34CF7/drive_c/Program Files (x86)/Steam/steam.exe

Environment:
{
    "DXVK_ASYNC" = 1;
    "GST_DEBUG" = 1;
    WINEDEBUG = "fixme-all";
    WINEDLLOVERRIDES = "dxgi,d3d9,d3d10core,d3d11=b";
    WINEESYNC = 1;
    WINEMSYNC = 1;
    WINEPREFIX = "/Users/anson/Library/Containers/com.isaacmarovitz.Whisky/Bottles/D8781462-7A34-4366-8ECB-38890AB34CF7";
}

msync: bootstrapped mach port on wine-31b8e9-msync.
msync: up and running.
0208:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
0750:err:wininet:HTTP_ParseRfc850Date unexpected month format L" Apr 2024 15:07:00 UTC"
08b0:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
08b0:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
043c:err:wininet:HTTP_ParseRfc850Date unexpected month format L" Apr 2024 18:19:00 UTC"
043c:err:wininet:HTTP_ParseDate unexpected date format L"Fri, 19 Apr 2024 18:19:00 UTC"
0324:err:wininet:HTTP_ParseRfc1123Date unexpected time zone L"UTC"
0178:err:wininet:HTTP_ParseRfc850Date unexpected month format L" Apr 2024 18:19:00 UTC"
043c:err:wininet:HTTP_ParseRfc850Date unexpected month format L" Apr 2024 18:19:00 UTC"
043c:err:wininet:HTTP_ParseDate unexpected date format L"Fri, 19 Apr 2024 18:19:00 UTC"

What version of Whisky are you using?

2.3.2

What version of macOS are you using?

Sonoma (macOS 14)

Issue Language

dinfyru commented 7 months ago

+1

juniorlob commented 4 months ago

+1

lucifer9 commented 2 months ago

Yes, it's quite annoying.

hahayupgit commented 2 months ago

this is most likely due to wine translating all controller input into a generic xinput controller, rather than passing the direct controller to steam. is this correct @IsaacMarovitz ?

hahayupgit commented 2 months ago

additionally, using the non-xinput controller is likely due to how macos handles controller input. i've personally had a terrible time with that, as i can't even use my xbox series controller in games like stardew valley native. controller works fine in the steam menus, but doesn't work at all in "supported" games. i'm willing to bet that same issue is happening through wine when not translated.