Answer the question
In order to leave comments, you need to log in
How to do COM mouse emulation in Python3?
Some application software (For example, games) checks for the existence of an input device.
(It's not entirely correct to say this: if you send an event to SendInput, then it is marked with the LLMHF_INJECTED flag, by which you can understand that the device does not exist).
It seems to me that the easiest way to get around this behavior is to use a COM-COM loop: connect to one and send movements and clicks, the second should pretend to be a mouse.
Where can I get a COM mouse driver (xp, vista, 8.1) and where can I read about data exchange between a COM mouse and a computer (to simulate this in python)?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question