Page 1 of 1

Is it possible to make a click of Ps2 with a mouse using Input32?

Posted: Fri Jan 05, 2018 6:56 pm
by elfenlied
Is it possible to make a click of Ps2 with a mouse using InpOut32 ? How to do it ?

Re: Is it possible to make a click of Ps2 with a mouse using Input32?

Posted: Sat Jan 06, 2018 1:32 pm
by phil
I don't know.
If you know the port addresses of the PS2 input buffer it may be possible - but why would you go to that effort when there are APIs in Windows like SendInput to send simulated input?

Re: Is it possible to make a click of Ps2 with a mouse using Input32?

Posted: Sun Jan 07, 2018 5:40 pm
by elfenlied
Frost or other protection system of MMORPG games is blocking Winapi.
There are applications that work with the Ps2 mouse directly. For example http://kibor-bot.com/stat/programmed-autoclicker.php
But I do not want to write bots through such applications, because it's inconvenient

Is it possible to make a click of Ps2 with a mouse using Input32

Posted: Tue Dec 18, 2018 7:21 pm
by DigrarHab
That worked thanks, but how do you actually change the x and y coordinate of button?

Re: Is it possible to make a click of Ps2 with a mouse using Input32?

Posted: Tue Dec 18, 2018 8:17 pm
by phil
You could try calling SetCursorPos() before clicking ??