There are even KVM switches that can share a monitor between computers, but I have no idea how well that might work with an iPad. Im sharing wireless keyboard and mouse between a PC and Mac through the U4919DW monitor. Amazon site, but search for KVM switches and you’ll find something. There are lots of USB switch hubs available. And because I’m using it via a powered hub, the iPad also stays charged, and is connected to my audio interface, speakers, etc. The trackpad and keyboard are instantly available on the iPad. With this setup, I hook my iPad up to its USB-C dock, as usual, and whenever I want to use the keyboard and trackpad, I just reach behind the Mac and press the button. I have the hub clipped to the stand of my iMac, with the second cable running to a USB-C dock I use for the iPad. On the other side are two more USB A ports, and you use these with the supplied USB A-to-A cables to connect to your Mac and your iPad.
The hub packs four USB A ports on one side, into which you can plug your keyboard, mouse and trackpad. The best wireless keyboard for Mac for office use that weve tested is the Apple Magic Keyboard with Touch ID and Numeric Keypad.Its Apples latest release of their well-known Magic keyboard, and its available in both a full-size variant, which is the one we tested, and a 75 compact size if you prefer something smaller.
I have my keyboard and Magic Trackpad 2 hooked up to the above-mentioned USB 2.0 switcher hub. USB keyboard and trackpad switcher for iPad and Mac This Ugreen switcher works fine, but any old switcher will do the trick.