I do the same, but my USB hub holds keyboard, mouse, headphones, webcam, and a Wacom tablet. I have a large 4K monitor with an HDMI port going to each laptop, so I switch the monitor to read from the other input, move one USB cable, and I'm on the other laptop. No need even to switch keyboards - all the peripherals come along together.