[Bug 48802] Logitech Extreme 3D Pro joystick works fine in joy.cpl but buttons wrongly mapped in Battlefield 4

WineHQ Bugzilla wine-bugs at winehq.org
Mon Mar 30 13:53:23 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=48802

--- Comment #28 from Luca Boccassi <luca.boccassi at gmail.com> ---
Created attachment 66783
  --> https://bugs.winehq.org/attachment.cgi?id=66783
BF4 logs native dinput8.dll, input enabled, hidraw disabled, SDL disabled,
+dinput,+hid,+hid_report,+plugplay,+hidp,+xinput,+rawinput,+pid,+timestamp

(In reply to Zebediah Figura from comment #27)
> Yes, you can run `winetricks dinput8`.

No luck unfortunately. Works great in hid.exe, but completely dead in BF4.

Here's what I've done - winetricks does not support 64bit dinput8 (BF4 is
64bit).

Following indications on https://github.com/Winetricks/winetricks/issues/1287

wget
https://download.microsoft.com/download/8/3/b/83b8c814-b000-44a4-b667-8c1f58727b8b/Windows6.0-KB936330-X64-wave0.exe
cabextract -F
x86_microsoft-windows-directx-directinput_31bf3856ad364e35_6.0.6001.18000_none_1d981a3c0baebdc7/dinput8.dll
 ./Windows6.0-KB936330-X64-wave0.exe
cabextract -F
amd64_microsoft-windows-directx-directinput_31bf3856ad364e35_6.0.6001.18000_none_79b6b5bfc40c2efd/dinput8.dll
./Windows6.0-KB936330-X64-wave0.exe
mv /home/luca/.wine/drive_c/windows/system32/dinput8.dll
/home/luca/.wine/drive_c/windows/system32/dinput8.dll.old
mv /home/luca/.wine/drive_c/windows/syswow64/dinput8.dll
/home/luca/.wine/drive_c/windows/syswow64/dinput8.dll.old
cp
./amd64_microsoft-windows-directx-directinput_31bf3856ad364e35_6.0.6001.18000_none_79b6b5bfc40c2efd/dinput8.dll
/home/luca/.wine/drive_c/windows/system32/dinput8.dll
cp
./x86_microsoft-windows-directx-directinput_31bf3856ad364e35_6.0.6001.18000_none_1d981a3c0baebdc7/dinput8.dll
/home/luca/.wine/drive_c/windows/syswow64/dinput8.dll
wine reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v dinput8 /d
native /f

At this point hid.exe worked fine, BF4 still didn't. Tried various combinations
of DisableInput, DisableHidraw, Enable SDL, Map Controllers with no luck.

The attached log is with DisableHidraw 1, DisableInput 0, Enable SDL 0, Map
Controllers 0, running BF4 and trying to map all joystick buttons/axis as
usual.

Anything else to try? What's the difference between dinput.dll and dinput8.dll?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list