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

My x64 port of InpOut32
Post Reply
elfenlied
New User
Posts: 2
Joined: Fri Jan 05, 2018 6:50 pm

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

Post by elfenlied »

Is it possible to make a click of Ps2 with a mouse using InpOut32 ? How to do it ?
User avatar
phil
Site Admin
Posts: 7873
Joined: Sun Apr 06, 2003 11:12 pm

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

Post 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?
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
elfenlied
New User
Posts: 2
Joined: Fri Jan 05, 2018 6:50 pm

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

Post 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
DigrarHab
New User
Posts: 2
Joined: Sun Sep 23, 2018 12:11 am

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

Post by DigrarHab »

That worked thanks, but how do you actually change the x and y coordinate of button?
User avatar
phil
Site Admin
Posts: 7873
Joined: Sun Apr 06, 2003 11:12 pm

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

Post by phil »

You could try calling SetCursorPos() before clicking ??
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR%,
nVidia RTX 2070s (still lol)
Post Reply