WINE 1.3.14 and mouse

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Jenia
Level 2
Level 2
Posts: 34
Joined: Wed Jun 10, 2009 11:09 am

WINE 1.3.14 and mouse

Post by Jenia »

I was wondering about those mouse issues...
Having other weird mouse issues? Try downgrading to wine 1.3.14. 1.3.15 and up introduced a complete overhaul of certain mouse handling code and screwed up more than a few things.
I'm using a touchpad on a laptop with WINE 1.3.31
Some but not all games have an "escaping mouse" phenomenon.
What happens is that the cursor has effectively 2 speeds - normal and fast, with both present on the screen. Should mouse movement cease, the cursor defaults to the "normal speed" position.
This can be a huge headache when you want to click a button and end up panning the screen because the fast cursor reached the edge of the screen, or worse yet, pressing another button!

Are there any plans to fix this soon? Or should I not expect any fix for that in the near future?
claudio
Level 2
Level 2
Posts: 13
Joined: Fri Oct 28, 2011 2:57 pm

Re: WINE 1.3.14 and mouse

Post by claudio »

Jenia wrote:I was wondering about those mouse issues...
Having other weird mouse issues? Try downgrading to wine 1.3.14. 1.3.15 and up introduced a complete overhaul of certain mouse handling code and screwed up more than a few things.
I'm using a touchpad on a laptop with WINE 1.3.31
Some but not all games have an "escaping mouse" phenomenon.
What happens is that the cursor has effectively 2 speeds - normal and fast, with both present on the screen. Should mouse movement cease, the cursor defaults to the "normal speed" position.
This can be a huge headache when you want to click a button and end up panning the screen because the fast cursor reached the edge of the screen, or worse yet, pressing another button!
I don't know if it helps, but have you tried playing with the winecfg settings?
In particular the capture mouse option, as well as the virtual desktop option.

Otherwise you could try changing windowed/fullscreen mode in the game, and if everything fails you could try the registry:

http://wiki.winehq.org/UsefulRegistryKeys

look for DXGrab and MouseWarpOverride.

Another thing that can be tried is a native direct input dll (dinput.dll), and another is to try an older wine version, and if it works, bisect to find the patch that broke it for you.

Good luck, good hunting.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: WINE 1.3.14 and mouse

Post by vitamin »

Jenia wrote:I'm using a touchpad on a laptop with WINE 1.3.31
Some but not all games have an "escaping mouse" phenomenon.
Yes, it's a known problem with touchscreen and XI2. Disable XI2 (compile Wine with --without-xinput2). If that won't work - buy a mouse.
Locked