
A KVM switch is what you need when you are trying to control two or more devices using a single set of keyboard, video output or mouse (KVM stands for Keyboard-Video-Mouse).
You may want to do this to improve your productivity, to make better use of your desk space or simply because your employer has decided to enforce the use of a company laptop.