I learnt this first myself from HN, a few months ago.
I looked at making a solution myself, but for some reason, simulating a USB client device in software is extremely annoying, and requires specialized hardware that is also very expensive. So at that point, why not just get a KVM...
I frequently switch between 1080p and 4K for gaming since I don't like resampling artifacts. Never found a KVM that can handle 4K properly even for productivity. The mistake can be as basic as assuming a 100% scale factor.
I use it to switch between my work laptop and my personal PC, and for this situation 4K is a must have. That, and the choice of HDMI instead of DisplayPort, and things that would keep me from getting a JetKVM.
[1]: https://www.aten.com/gb/en/products/kvm/desktop-kvm-switches...
teruakohatu•32m ago
https://docs.espressif.com/projects/esp-dev-kits/en/latest/e...