The simplest hardware solution to control 2 computers with 1 set of mouse and a keyboard.
For this project, you would need.
- 4 pole 3-way rotary selector.
- 2x USB Cable (Printer cable)
- Female USB connector. (from old USB Hub)
- Small plastic box (I use dental floss box).
- A working USB Hub for connecting Mouse and Keyboard.
I use twist-pair cat5 wire for connection.
Wiring diagram
USB female connector can be harvested from a dollar store USB Hub.
Finished product.
Two USB cables (white) are connected to both computers, PC or Mac.
Connect a USB hub to the female USB connector.
Connect mouse & keyboard to the USB Hub.