i want to control mouse and keyboard from a program.
ie if we are clicking mouse in one machine, we have to create a mouse click in another machine.
if we are moving mouse in one machine, mouse cursor of other should move.
kindly help me.

Recommended Answers

All 3 Replies

what exactly do you mean by machine? system, program, console?

thank u for replying.
machine means a computer.
i have to control mouse and keyboard of a different computer.

you'll need an app running on each machine.
put a timer to send mouse coords on one machine to the other every so often and update on the client machine.
and for mouse clicks send the coords, which button, any ctrl keys, etc.

Basically, you're just going to be writing client server app and sending text data back and forth.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.