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 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 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 - GetDeviceState

2004-06-17 Thread James Dean Anderson
again, I'm sorry if messages appear twice... http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c/directx/input/ref/ifaces/idirectinputdevice9/GetDeviceState.asp says it should return this error. btw GetDeviceData in mouse.c returns this errorcode as well. WWII-Online (you c