http://bugs.winehq.org/show_bug.cgi?id=19981
Summary: Not all keys are recognized with dinput Product: Wine Version: 1.1.28 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: peter.ganzhorn@googlemail.com
Running Far Cry (1) I noticed I was unable to open the in-game console using the "^" key. First I assumed there was a problem with the keyboard layout as the keys "z" and "y" were swapped in Far Cry as well (I am using a German keyboard). Running wine-notepad the "z" and "y" keys are NOT swapped, and "^" works perfectly. Going through the output when running Far Cry I found out the German keyboard layout was detected correctly, so that is not the problem. Changing the keyboard layout in xorg.conf and gnome to the standard USA-layout did not help at all.
Then I tried installing a native dinput8 DLL with winetricks, as the output told me Far Cry has a CryInput.dll which uses Direct Input. With the native dinput8 the keys work perfectly good, but there's another issue: The mouse can only be moved within a rectangle much smaller than the game window itself. With the wine-dinput this works perfectly. I tried setting options like "Allow DirectX apps to stop the mouse leaving their window", changing from full-screen to windowed mode and changing the resolution of the game. Still, the rectangle in which the mouse can be moved stays in the same relative size. In windowed mode when the mouse is allowed to leave DirectX windows, the cursor jumps from the border of that rectangle to outside the game window and when moved back, straight back into that rectangle on all sides.
Since this strange mouse behaviour occurs with a native dinput8, I guess that doesn't cound as bug.
So in a nutshell the bug is that my keys aren't correctly recognized with the built-in dinput of wine.
http://bugs.winehq.org/show_bug.cgi?id=19981
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |capello@jaguenaud.org
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2009-11-13 21:42:11 --- *** Bug 20690 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=19981
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #2 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-01-25 08:41:14 CST --- Duplicate
*** This bug has been marked as a duplicate of bug 15350 ***
http://bugs.winehq.org/show_bug.cgi?id=19981
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-01-25 08:41:23 CST --- Closing