Description of problem: Some time ago wine started using xinput2 extension instead of mouse wrapping for better mouse handling inside games and other fullscreen applications. Unfortunately, xinput2 support had some issues, so it was disabled in wine build 1.3.25-1 in Fedora. Now wine 1.4 is released and it has much better and stable xinput2 support. It's time to re-enable xinput2 support in wine builds for Fedora. Without xinput2, several popular games are unplayable or barely playable inder wine, including STALKER: Call of Pripyat, Metro 2033, Operation Flashpoint: Dragon Rising and many others. I use wine built with xinput2 support since version 1.3.37 and there were no problems with it. Version-Release number of selected component (if applicable): 1.3.37-1 1.4-1 How reproducible: Easily producible with several popular games. Steps to Reproduce: 1. Install Operation Flashpoint: Dragon Rising inder wine using Steam. 2. Install d3dx9_36 and dinput8 DLLs using winetricks. 3. Start the game. Actual results: You can't turn around in the game. Hence, game is unplayable. Expected results: You should be able to turn around in the game. Additional info: Everything works fine with wine build using the same spec file with "--without-xinput2" parameter removed from "%configure" arguments.
I can confirm this still occurs in the recent wine 1.5.0-2 update, which incidentally, installed itself over the 1.4-1 version I had rebuilt without the non-sensical "--without-xinput2" parameter. After rebuilding it again myself with "--without-xinput2" parameter removed from "%configure" arguments, wine is working correctly again with games (tested with Mass Effect 3).
with 1.4 / 1.5.1 on Fedora 16 UT3 does not work correctly without xinput2 either. You either have to deal with navigating the menus with the keyboard or have the mouse broken in game without it.
The fix is simple for fc15 onwards: just remove --without-xinput2 from the spec file and rebuild, as described above. AFAIK xinput2 support in wine has been stable for a while now, and it only is activated if you select the option to capture the mouse in full screen applications. Given how easy it is to fix, it's strange that it hasn't been already. Recently there was another update to the package that didn't include this fix and if you had (like me) rebuilt the previous version, this update has overwritten it. Is it possible to do that on the next update? Or is there a strong reason against it and people who need it will just have to exclude wine-* from yum updates? Best regards.
I have enabled this last week with 1.5.2-2 build. However this will need some further testing as this will fix some issues but leave other people with bugs.
wine-1.5.2-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/wine-1.5.2-2.fc16
wine-1.5.2-2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/wine-1.5.2-2.fc17
wine-1.5.2-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/wine-1.5.2-2.fc15
Thanks! I just downloaded the built RPMs for fc16 and freshened them (i686, although it's a 64 bit system). For now all seems well (can play Mass Effect 3). I'll report back here should I find anything bad. Best regards.
Package wine-1.5.2-2.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing wine-1.5.2-2.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-6477/wine-1.5.2-2.fc17 then log in and leave karma (feedback).
wine-1.5.2-2.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
wine-1.5.2-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
wine-1.5.2-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 795147 has been marked as a duplicate of this bug. ***