Barrier is a cross-platform software that allows you to share a single mouse and keyboard between multiple computers seamlessly.
Barrier is an open-source program that will allow you to use a single keyboard and mouse combination between multiple computers. Thus, acting as a KVM switch, you can easily control your actions on different PCs without using other physical peripherals.