[Bug 30984] Some keys do not work in different games (Trine, Skyrim, Dragon Age Origins, Dragon Age 2, Star Trek Online, Gothic 2)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Oct 27 11:52:44 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=30984

Philippe Valembois <lephilousophe at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lephilousophe at users.sourcef
                   |                            |orge.net

--- Comment #40 from Philippe Valembois <lephilousophe at users.sourceforge.net> ---
Created attachment 62629
  --> https://bugs.winehq.org/attachment.cgi?id=62629
Remove errors and fix LT mapping in attachment 41141

Hello,

Problem is still present with Wine 3.19
Reverting commit 43984f355a2905e16075a9df3d7fbe463761e853 works but breaks for
other languages (lt).

Patch in attachment 41141 (match keyboard in Unicode) should fix some problems.
I tested it with layouts fr, fi, cz and mapping is fixed (virtual keys and
scancodes are determined correctly).
Layout lt doesn't work because the mapping in Wine is wrong (a simple patch
could fix it).
Last bug remaining is with dead keys. Wine uses Xlib to listen for keyboard
events and it filters dead key events to generate composite KeyPress.
That means that using dead keys in games doesn't work well.
The fix for this would be to switch to XCB which generates raw events and using
xkbcommon to generate WM_CHAR events for text editors.

I have made modifications to patch 41141 that remove some errors, improve
matching and fixes LT mapping.
To test it you must apply 41141 then this new patch.

-- 
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