Sign in to follow this  
Followers 0
AngelSL

Simulating REAL keyboard and REAL mouse inputs?

11 posts in this topic

How do I do a click that doesn't come from the API, but actually simulates a hardware click?

Also, how do I do a keyboard input that does a hardware simulation (as in, doesn't come from the API, but simulates it coming from the mouse/keyboard)

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Create a robotic arm to click a hardware.

Posted Image

Edited by Siao

"be smart, drink your wine"

Share this post


Link to post
Share on other sites

In Autoit.

Share this post


Link to post
Share on other sites

Create a robotic arm to click a hardware.

Posted Image

...that could come in handy...

@AngelSL,

I do not think that you can. Of course, by my saying that, someone in the forum will do so just to prove me wrong - so maybe I've help you. :-)


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

cant be done from what i understand, you would need to directly access the i/o port of your keyboard

Share this post


Link to post
Share on other sites

How do I do a click that doesn't come from the API, but actually simulates a hardware click?

Also, how do I do a keyboard input that does a hardware simulation (as in, doesn't come from the API, but simulates it coming from the mouse/keyboard)

As herewasplato has stated I haven't seen anything to simulate the keyboard/mouse click outside of the API. Undoubtedly it would be extremely useful particularly for those creating bots in games if such functionality existed since many games prevent any input except actual keyboard/mouse clicks. hmmmm

*Also waits to be proven wrong.

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

there is one company i know of, which have a physical interface, plugs directly into the ps/2 socket, and comes with software to "sTimulate" the way the keys are sent, that is the only real way ive seen of sending "real" keys directly to the pc.

If you know how a keyboard works its quite simple, each button press is a certain electric charge, each key is a different amount of charge, when a key is pressed, its charge is converted into scancode, there is no other way to really send scancodes without simulation, because a keyboard doesnt work that way, its the windows api which read the scancodes that have already been "understood" by the Bios and ps/2.

Remember, scan codes are virtual in every sense.

EDIT: of course what you could do, if you have an old keyboard, is take the buttons off, take the rubber bits away and expose the keyboard metal bits. Then if your any good with creating hardware, make a box that will sending a certain voltage thru copper wire, and a set interval (or have a switch to change the interval) and attach them directly to the keyboard itself, that really is the only way to send REAL keys without directly accessing the ps/2

Edited by SXGuy

Share this post


Link to post
Share on other sites

Duh, its NOT in autoit.. I want something in Autoit.

Share this post


Link to post
Share on other sites

Duh, its NOT in autoit.. I want something in Autoit.

You can't, just bypass it.

Share this post


Link to post
Share on other sites

You can't purely from AuotIt, you could create a fake mouse/keyboard driver and send commands through it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0