[Bug 19981] New: Not all keys are recognized with dinput

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 8 08:27:43 CDT 2009


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 at winehq.org
        ReportedBy: peter.ganzhorn at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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