http://bugs.winehq.org/show_bug.cgi?id=11122
--- Comment #2 from Tobias Jakobi liquid.acid@gmx.net 2008-01-10 14:35:43 --- You're right. Testing this with UT revealed that both non-dinput and dinput mode work and produce the correct characters.
To the scancode mapping problem: I wouldn't even know how to change it. The point is that it works with 1.1.1 but not with 1.2.2 (my friend finished upgrading his Xorg keyb driver to 1.2.2 and is now experiencing the same problem).
So either it's a bug in wine (that didn't appear until now), a regression in xf86-input-keyboard, or a compatibility issue with both applications.
And I should correct the layout thing. What I changed the layout to is "us" ("en" doesn't even exist on my system). I currently use a setxkbmap hotfix to avoid the problem.