http://bugs.winehq.org/show_bug.cgi?id=16126
--- Comment #16 from el elton@schiert.net 2009-01-12 19:55:32 --- I can't. The patch doesn't really solve the problem. While it fixes the game controls for me it also breaks other things. For example in Half-Life the key input in the configurations menu is now shifted by one position. Detailed effects for Half-Life:
before my patch: chat - shifted config menu - correct controls - shifted console - correct
after my patch: chat - correct config menu - shifted controls - correct console - correct
Sidenote: The console always uses the same keyboard layout that my X uses, but the ingame chat does not. No matter whether my X layout is set to de or us the ingame chat will always use an us mapping (i.e. even with my patch pressing y on my german (qwertz) keyboard creates z in the chat and the other way round). This might be a Half-Life bug and not a wine bug though.
My xorg.conf: Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "de" Option "XkbVariant" "nodeadkeys" EndSection
Sidenote2: Running "setxkbmap -rules xorg -model pc105 -layout de -variant nodeadkeys" (which, considering my xorg.conf settings, might seem like a no-op) before running Half-Life actually solves the issue without the need for any patch (but it only works for the rest of the X session). Same thing happens if I just run "setxkbmap" (without any arguments).