I ended up using the display to switch video and sticking all the USB stuff on a cheap amazon usb switch. Mostly because I wasn’t confident I could get high refresh rate gsync to flow through a kvm cleanly. Would love a cleaner solution though
Easy. USB switcher with mouse, keyboard, webcam and whatever else you want to use on both of them. Use input switching on the display. Just plug the laptop into the display and switcher. I have this exact setup.