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?
http://bugs.winehq.org/show_bug.cgi?id=58301
Nikita mornickmylo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu
http://bugs.winehq.org/show_bug.cgi?id=58301
--- Comment #1 from Ken Sharp imwellcushtymelike@gmail.com ---
I've created a simple example app
Can you share it and/or the source code?
http://bugs.winehq.org/show_bug.cgi?id=58301
--- Comment #2 from Nikita mornickmylo@gmail.com --- (In reply to Ken Sharp from comment #1)
I've created a simple example app
Can you share it and/or the source code?
Sure! https://gitlab.com/mornickmylo/mouse_move_wine/-/tree/master?ref_type=heads
And here's the binary: https://drive.google.com/file/d/1_JK5WGm0rKkQO8PyMbjMa7EjaQE2DXjH/view?usp=s...
http://bugs.winehq.org/show_bug.cgi?id=58301
--- Comment #3 from Nikita mornickmylo@gmail.com --- (In reply to Ken Sharp from comment #1)
I've created a simple example app
Can you share it and/or the source code?
Any progress so far? :(
http://bugs.winehq.org/show_bug.cgi?id=58301
--- Comment #4 from Nikita mornickmylo@gmail.com --- Just asked a friend to test the example program. He's got Fedora 42 and the behaviour is the same, pointer does not move