Nice. I'll have to watch the video later. I'm working on something similar, mainly for: USB switch, monitor input switch, yubikey, and standing desk.
The plan is for most of this to be done via hardware signals sent from the microcontroller on the macro pad. I have a ways to go...
I have a lo-fi version of this using a 4port usb-switcher and display-switch [0]
[0] https://github.com/haimgel/display-switch
The only thing you’d need to figure out is the standing desk part. My usb switch came with a wireless controller which is the main way I interact with it.