https://bugs.winehq.org/show_bug.cgi?id=46819
Bug ID: 46819 Summary: Unknown SDL controllers cause crash Product: Wine Version: 4.3 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: winebus.sys Assignee: wine-bugs@winehq.org Reporter: zakk@rsdio.com
Created attachment 63839 --> https://bugs.winehq.org/attachment.cgi?id=63839 winedbg backtrace
I have an arcade stick (Hori RAP4 for PS4) that I'm attempting to use with games under wine.
If the stick is plugged in and any input is entered (buttons, stick etc) any program that cares about XInput will crash, including Steam.
However, if I generate an SDL controller config (using a tool like SDL2 Gamepad Tool) and then set the environment variable SDL_GAMECONTROLLERCONFIG, everything works as expected.
Note that since this is an arcade stick, it does not present the same number of axes and buttons as a normal gamepad. I believe this may cause some differences if I'm reading bus_sdl.c correctly.
I have confirmed that other gamepads (ps4 and xboxone) I own do not show this issue.
I've attached backtrace from winedbg and console log