http://bugs.winehq.org/show_bug.cgi?id=8683
--- Comment #27 from Fábio Capela fabio.capela@yahoo.com 2008-01-23 06:00:33 --- (In reply to comment #26)
Also, could you please try to replace
e.state = LockMask;
by
e.state = 0;
before the 'for' loop, and replace tolowerW() by toupperW() in my patch. My test under XP shows that for letter keys MapVirtualKeyEx() returns upper cased characters, but perhaps setting LockMask in the event state is not what we need to do.
Your patch with those modifications seems to be working perfectly; tested all keys under both DE and FI nodeadkey layouts, the only non working key (keypad dot with numlock pressed) is not related to this specific bug.