https://bugs.winehq.org/show_bug.cgi?id=38816
--- Comment #19 from Toni eldrad@autistici.org --- (In reply to James Le Cuirot from comment #18)
I've tried Sonic All Stars Racing Transformed, which is known to use the DInput method, under 3.5 and it still doesn't work. It appears to use XInput and the menus work but I am unable to accelerate. If I disable all the gamepads as you suggest then it doesn't detect one at all.
Haven't tried that game, but you should check that your wine version was built with sdl support, or that it's available in your system, not sure exactly how it works but I'm aware the new support requires sdl, and for example playonlinux builds don't have the support.
I have tested both brothers (ue game) and broforce (unity game) with wine 3.5 (lutris build from https://lutris.net/files/runners/wine-3.5-x86_64.tar.gz), and both work fine with xinput support, also dinput doesn't seem to interfere in that case, anyways I disabled the gamepad (xbox 360 wireless) from "wine control" and xinput support would still work out of the box.