With my COVID obsession of live streaming while writing code, I ended up building something a little more elaborate. https://github.com/timgws/kvm-switch
It doesn't use DDC commands direct to the monitor(s), instead swapping it for a HDMI matrix combined with a traditional KVM for swapping around inputs smoothly when you roll your mouse over the edge of different operating systems.
The switching client runs on Windows, MacOS and Linux (if you use X).