Question: how to connect 2 computers to one keyboard and mouse?
Answer: First, there is a cable called a KVM switch, which is short for “keyboard, video and mouse” switch. These let you share one mouse, keyboard and monitor between two computers. There are also KM switch cables that allow you to share just a keyboard and mouse with two computers that have two separate monitors.