http://bugs.winehq.org/show_bug.cgi?id=8683
--- Comment #26 from Dmitry Timoshkov dmitry@codeweavers.com 2008-01-23 00:59:52 --- (In reply to comment #25)
Created an attachment (id=10416)
--> (http://bugs.winehq.org/attachment.cgi?id=10416) [details]
A proposed patch Does the attached patch work for you?
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.