PORTS Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
This forum is closed to new activity.
The posts are available to browse, but posting has been disabled. BIG THANKS to all who have participated and shared your knowledge over the past 13 years.
Aug 11, 2023
Home
Help
Search
Login
Register
PORTS Forum
»
Ports and Interfaces
»
USB
»
Mouse simulating program using male to male using USB cable.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Mouse simulating program using male to male using USB cable. (Read 14540 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.
Logged
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.
Logged
Jan Axelson
Administrator
Frequent Contributor
Posts: 3033
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
Logged
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?
Logged
Jan Axelson
Administrator
Frequent Contributor
Posts: 3033
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
Logged
Print
Pages: [
1
]
« previous
next »
PORTS Forum
»
Ports and Interfaces
»
USB
»
Mouse simulating program using male to male using USB cable.