Got one of these https://www.amazon.com.au/dp/B0BL7M3SNP KVMs off Amazon to switch between two laptops. It came with a little “remote” button you can use instead of pressing buttons on the main unit.
The author marked this model as their own original creation.