Mouse warp questions
Tony Lambregts
tony.lambregts at gmail.com
Wed Apr 13 09:30:05 CDT 2005
Stefan Dösinger wrote:
> Hello,
> I have a a question about the mouse warp code in dlls/dinput/mouse.c
>
> Why is MOUSE_HACK still defined? From reading the archives I concluded that
> warping the mouse in three states was disabled long ago(1), but MOUSE_HACK is
> still defined. I found a patch sent to wine-patches in 2003 which commented
> this define line(2).
>
> My problem is that this MOUSE_HACK breaks the mouse in Settlers 3, bug 2475
> (3). Is there any reason why the mouse hack is still/again activated?
>
> Thanks,
> Stefan
>
> References:
> (1)http://www.winehq.org/hypermail/wine-devel/2004/06/0325.html
> (2)http://www.winehq.com/hypermail/wine-patches/2003/01/0019.html
> (3)http://bugs.winehq.org/show_bug.cgi?id=2475
>
I think that it is time to really get rid of it I have two more demos that I
have been playing with that work when MOUSE_HACK is not defined. Dominions II
(1a) and Starlancer (2a). starlancer thinks it is running in a 640X400 window an
the program itself is setting the cursor at x=320 and y=200 and dinput trys to
put it at x=320 and y=240.
Does anyone know of a game that game that needs it? IE: does not work without it
defined?
(1a) http://bugs.winehq.org/show_bug.cgi?id=2056
(2a) http://bugs.winehq.org/show_bug.cgi?id=1410
--
Tony Lambregts
More information about the wine-devel
mailing list