[Bug 4777] Mouse Absolute vs. Relative Incorrect Behaviour (doesn't
match Windows)
Wine Bugs
wine-bugs at winehq.org
Wed Mar 8 20:13:05 CST 2006
http://bugs.winehq.org/show_bug.cgi?id=4777
------- Additional Comments From myrd at projectmagma.net 2006-08-03 20:13 -------
An "easy" fix would be to do this:
In function alloc_device(), add:
newDevice->absolute = 1;
In function SysMouseAImpl_SetDataFormat() remove:
This->absolute = 0;
However, I'd imagine this would require testing to make sure it doesn't break existing stuff. This
change does seem to be in accordance to how Windows works, but a comment in the Wine code seems
to contradict this:
402 /* Tests under windows show that a call to SetDataFormat always sets the mouse
403 in relative mode whatever the dwFlags value (DIDF_ABSAXIS/DIDF_RELAXIS).
404 To switch in absolute mode, SetProperty must be used. */
Obviously, this is NOT the case for Myth II, because Myth II does call SetDataFormat, and Windows
doesn't keep re-centering the mouse there.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list