Closed sahalsaad closed 3 years ago
You are trying to inject a relative movement command (MOUSE_MOVE_RELATIVE), but your mouse movement device generates absolute movement command packets. i.e., You are trying to inject weird packets that do not match the behavior of your mouse. I should update the MouInjectInputPacketUnsafe
function to allow this mismatch behavior so the user can do what they want without checks.
You can inject an input packet without validation using MouInjectInputPacketUnsafe
and MiiInjectMouseInputPacketUnsafe
. Look at ntddmou.h
for information about the fields.
Hi, When I try to use the mouse function, it failed with the below error message:
The click working fine. Only move does not work. Environment: Windows 10 20H2 running in vmware. Any help will be appreciated!
Thanks!