JesusFreke wrote:
I'll be honest, I don't know if this is the correct way to fix this issue. But with this patch, the mouse movement is working perfectly.
Have you tried disabling warping in dinput?
Your patch is an outright hack. It does something that is plain wrong. I do know that area of the code really really good.
As-is calling SetCursorPos already generates WM_MOUSEMOVE (when cursor position change comes back from X) which it shouldn't. You are adding an additional one - which is double wrong. I guess this is the case of two identical errors masking each-other resulting in non-error.
Vitaliy.