Author Topic: Mouse simulating program using male to male using USB cable.  (Read 9942 times)

jack1991

  • Member
  • ***
  • Posts: 3
Mouse simulating program using male to male using USB cable.
« on: October 02, 2011, 12:37:37 am »
I'm going to send mouse signals to USB cables to other pc.

In detail

    connect pc1 and pc2 with direct usb cable with no special devices.
    No special software on pc2.
    when I move mouse on pc1, the cursor on pc2 should be moved.

I'm going to develop this kind of program for PC1 in C++.
Is it possible?

Regards.

Singh from India.

Guido Koerber

  • Frequent Contributor
  • ****
  • Posts: 72
Re: Mouse simulating program using male to male using USB cable.
« Reply #1 on: October 02, 2011, 09:54:26 am »
A direct USB connection between two computers just blows the power supply or a fuse on wither computer. You need a piece of electronics between the computers. USB is a single host to multiple slave system, there can never be two hosts on the same bus.

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Mouse simulating program using male to male using USB cable.
« Reply #2 on: October 02, 2011, 01:15:54 pm »
See the section

Accessing USB devices over a network

here

http://www.lvr.com/usb_device_hardware.htm#cables

for some ways to use a mouse remotely.

Jan

jack1991

  • Member
  • ***
  • Posts: 3
Re: Mouse simulating program using male to male using USB cable.
« Reply #3 on: October 02, 2011, 03:41:41 pm »
Thanks for your reply.

What I want to do is

Connect pc2 to pc1 with direct usb cable.
After that, I'm going to send mouse signal from pc1 to pc2.
So when I connect two PCs, pc2 will recognise pc1 as mouse.(No special program on pc2)

Is it possible?

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Mouse simulating program using male to male using USB cable.
« Reply #4 on: October 02, 2011, 05:54:13 pm »
no, please read the earlier comments.

Jan