I use two computers displayed side-by-side with the picture-in-picture feature of a single ultra-wide monitor.

Input leap[0] is a great open source KVM software version of the deskhop which allows me to control both computers on the same monitor with the sam peripherals.

[0]https://github.com/input-leap/input-leap