http://bugs.winehq.org/show_bug.cgi?id=20362
--- Comment #30 from Alexey Loukianov mooroon2@mail.ru 2012-04-17 01:33:49 CDT --- Mike, I'm afraid but the info you post is a bit... em... a mess. What are the patches you apply to your Wine tree and why do you do it? What about "stock vanilla" Wine without any patches, does it work or not? If not - had you tried to compile it with XInput2 turned off (in case it had been turned on before, an vise verso) and check if that helps? Does this happen always, including when Wine is configured to be run in "Virtual Desktop" mode, or when the game itself is configured to be run in windows?
The behavior you observe might be related to a bug #29871. Try to recompile your Wine with the commit cb3b723 reversed and check if that helps. In case you've got the input messed in all Wine versions, even in those which had been working perfectly before - most likely it is not a Wine fault, but rather a bug in one of the system components, like Xserver, libxi or Xorg input drivers. Try to rollback relevant Xorg packages to a state they were at, say, year or two ago and check if that would fix the issue.
In any case, the bug you are trying describe in your comment is by no means not a one this bugreport is about. Please, do the checks I had described in previous sentences and if the problem persists - fire up another bugreport with a detailed description about "what, where and why", attache relevant debug logs, e.t.c. There's no point in hi-jacking non-related bugreport, it won't be welcome.