FYI synergy is free and oss[1] but I would still recommend paying for it because it's priced fairly and I want to support the development behind it. I think synergy is text-book "how to make money with oss."
I, too, tried in vain to buy a decent quality 4k KVM. Oddly the video worked better than the USB mouse/keyboard. (?)
Having failed the KVM route, I, too became a Synergy fan. I don't think Synergy caused the decline of KVM, but it synergy's success is certainly correlated. :)