http://bugs.winehq.org/show_bug.cgi?id=4777
------- Additional Comments From myrd@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.