http://bugs.winehq.org/show_bug.cgi?id=8854
--- Comment #54 from Dmitry Timoshkov dmitry@codeweavers.com 2010-02-11 01:23:00 --- (In reply to comment #51)
I suspect that won't work on Windows either.
Yes it will - dinput talks directly to kbd/mouse/joystick drivers. In fact this whole bug is exactly about these cases - when window is created in the different thread then the one asking and/or the thread that created window has no message loop at all or during the game play.
Is there a test case for that to confirm this behaviour?
The only proper way to fix this is the same as fixing dinput mouse - use xi2 to get raw keyboard events from X.
That's unfeasible, especially for systems without xi2.