Guys i need to have only one mouse usually with a usb or with a ps2 connector and sync this mouse with 10 laptops at the same time from moving of the cursor to the left and right buttons, there is one in south korea who made it and called it KMS-200 device, each device can control 2 laptops so if we need to control 10 laptops we need 5 KMS-200 devices,
this is the image of sync the two laptops at the same time.
and this for multiple laptops
so i want to make this device
i think if i got started with arduino mega or uno with usb shield and got attached mouse to it and have the mouse readings correctly to the arduino uno
so the project will splitted into 3 stages :
First stage :
Have the readings of the mouse from the optical mouse to the arduino uno or mega
Second stage :
sending the data to multiple arduinos using any communication like i2c or wireless comunication but we have some issues like latency and the distance between laptops is about 1 meter so it is not that big
Third stage :
taking the readings from the first arduino uno or mega to multiple arduino leonardos through any comm protocols
and connect the leonardos to the laptop
N.B: I Do not know if the project will succeed or not but i wanna know from you guys the mouse needs to send and recieve the packets so is it possible to do that or not
second i can use ps2 controller instead of mouse whatever i do not care
so what do you think guys?
I think you need absolute coordinates on the laptops and I think the normal Mouse library for the Leonardo does not support that. If I remember it well, someone wrote an extra piece of code to make it possible, but I don't know if that worked.
A touchpad has absolute coordinates. If the Leonardo can emulate a touchpad with absolute coordinates, then I'm very interested. So far I can only find projects that use a PS/2 bus between the Arduino and the computer.
There is a library to capture a PS/2 mouse, but I have not used that.
To use a USB mouse, you need a USB Host shield or a Arduino board that has USB host. From what I have read, that works very well.
Every laptop requires a Leonardo / Micro / Pro Micro board. One of those those boards can capture the mouse as well.
The I2C bus is meant to be used on the same pcb board, it was never designed to go through a cable.
You can use Serial communication. One TX output to many RX inputs.
Can you tell what it is for ? Which problem are you trying to solve ?
Perhaps you can run a script or macro recorder that can do the same thing on a number of computers.
It may not be relevant considering you are posting this in an arduino forum; but there are a number of software applications that can control multiple devices at once.
It might defy the object of creating one physically, but you might also be able to get some ideas.