Do you really need video?
My monitors have multiple inputs, so I just use a USB switch for my mouse and keyboard, and then switch the monitors between devices as needed.
Are you addicted to the clicking sounds of your beautiful and impressive mechanical keyboard?
If so, this community is for you!
Here you can discuss everything about mechanical keyboards (and only mechanical keyboards).
Banner by Jay Zhang on Unsplash
Do you really need video?
My monitors have multiple inputs, so I just use a USB switch for my mouse and keyboard, and then switch the monitors between devices as needed.
Here's a recommendations for what I use in my three node Proxmox homelab:
TCNEWCL KVM Switch 4 Port, HDMI KVM Switcher https://www.amazon.com/dp/B089ZW5PW5
It would give you some room to grow, supports HDMI for video, and comes with a fancy remote clicker to swap between PCs. I have a mech keyboard plugged in along with a mouse (although the mouse isn't super useful for my applications.
If it's just two PC's and no video, it's easy. There are plenty of cheap USB hubs in the โฌ20-โฌ30 range with a toggle switch.
I have a good experience with a ugreen branded switch that I got from Amazon. I bought it to toggle between my PC and work laptop when I started to work from home during covid.