Otherwise some KVM that is decent is as you imply not going to be cheap. The one that I have seen recommended on here before is https://www.store.level1techs.com/products/p/14-kvm-switch-d...
The manufacturer themselves even outright says it’s not perfect, but from what I can tell it’s probably the best one on the market right now