Synergy is a mouse and keyboard sharing application. It uses the server-client model to allow virtual sharing of physical keyboard and mouse over the network. While it is not as reliable as a USB switch or KVM hardware. While it is not free a trial version can work indefinitely offering most features the paid version offers. It can work seamlessly across Windows, Linux and Mac which makes it an option to use with GPU Passthrough on Arch Linux.