I have got a display with an integrated USB type C hub. The keyboard and mouse are plugged into the monitor and the display is interconnected via USB type C to provide video signal, power and the USB connection itself of course.
Currently, I have a MacBook Pro attached to it. I want to add a mini-PC to the setup. It does the same thing. The USB cord gets plugged into it and the keyboard, mouse and display are connected.
However, I want to "hide" the mini-PC in my desk and that's why it's not very practical that I need to unplug the USB c cable every time I want to use the other PC.
Is there some sort of Y cable or KVM switch device so that I can leave both computers plugged in simultaneously? Preferably with a switch so that even both of them can run while I only need to change the source with a simple "press".
Note: the cable has USB type C on both ends.