http://bugs.winehq.org/show_bug.cgi?id=58301
Bug ID: 58301 Summary: SendInput(MOUSEEVENTF_MOVE) does nothing Product: Wine Version: 10.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: mornickmylo@gmail.com Distribution: ---
I'm creating a game mod and I need to move cursor pointer with gamepad. I use SendInput(MOUSEEVENTF_MOVE) to simulate mouse movement. It's working just fine on Windows, but in Wine this call does nothing. I've created a simple example app that moves cursor pointer upon keyboard events, and again, it works in Windows but not in Wine.
I had a guess that this may be related to my system, not Wine, but ydotool works correctly and moves mouse as expected.
I also checked if applications receive WM_MOUSEMOVE events when SendInput is called, and it works too. But the pointer is not moving.
I've looked at Wine sources and found nothing related to uinput or XTest. Is there any purpose behind this?