http://bugs.winehq.org/show_bug.cgi?id=56883
--- Comment #6 from Cameron Kelly clai@gathernorust.net --- Hey all, could we get this confirmed please? This one is pretty easy to replicate and fix.
Can replicate with Playstation Dualsense Controller and compatible Bluetooth adapter:
1. Pair Dualsense 2. Run 'control' with latest Wine, hidraw enabled 3. Go to Game Controllers -> Dinput tab 4. Press R1/L1, observe two inputs firing per button 5. Click touchpad or press PS home button, observe no inputs firing
Optional: repeat with Dualsense wired with USB, observe all inputs working correctly
Cause is a memmove statement in dlls/winebus.sys/main.c that is one byte too short in length, mangling the bluetooth input report for Dualsense. See attached patch for specifics.
Bug is still present in Wine git master as of comment.