Re: dlls/dinput/mouse.c warp handling

2004-06-17 Thread James Dean Anderson
No, not exactly. There are several things in wine I don't know yet (eg what does GEN_EVENT do exactly / what are these critical-sections / etc.). But I think doing mouse-warping in 3 states and across different functions is much to complicated and while it works great in MaxPayne, it behaves str

Re: dlls/dinput/mouse.c warp handling

2004-06-17 Thread Mike Hearn
On Thu, 17 Jun 2004 14:43:54 +0200, James Dean Anderson wrote: > successful... it's just that threads and events always scared me (-: I bugged Newman yesterday and because he's a total rockstar he fixed the bug in the doc generation script, so the latest developer guide is now on the net: http:

Re: dlls/dinput/mouse.c warp handling

2004-06-17 Thread James Dean Anderson
ok I see now that my warp-replacement isn't that much of an improvement. (stuff similar to 'if(a!=b) a=b;' set me in an agressive state about replacing (-: ). Thank you for explaining things, this gives me a better starting point for further work. I'd really like the joystick to work in that ga

Re: dlls/dinput/mouse.c warp handling

2004-06-17 Thread Lionel Ulmer
On Thu, Jun 17, 2004 at 09:19:29AM +0200, James Dean Anderson wrote: > No, not exactly. There are several things in wine I don't know yet (eg > what does GEN_EVENT do exactly / what are these critical-sections / etc.). Welln this is related to the way DInput works: you have two ways to get inform

Re: dlls/dinput/mouse.c warp handling

2004-06-17 Thread James Dean Anderson
No, not exactly. There are several things in wine I don't know yet (eg what does GEN_EVENT do exactly / what are these critical-sections / etc.). But I think doing mouse-warping in 3 states and across different functions is much to complicated and while it works great in MaxPayne, it behaves str

Re: dlls/dinput/mouse.c warp handling

2004-06-16 Thread Lionel Ulmer
> this is a more complete version of my mouse patch in which I tried to > remove this funny mouse-warping-stuff. > > the mouse feels much better this way, but I am new to wine and maybe I > missed something important and/or did not remove the mousewarping cleanly. Errrm, do you understand exactl