Magic Switch is a free, open-source macOS app for sharing an Apple Magic Keyboard, Trackpad, or Mouse between two Macs — with no Apple ID and no USB re-pairing dance
Magic Switch: Share a Magic Keyboard & Trackpad Between Two Macs (Free)
How I built a free Magic Switch — a macOS app for sharing an Apple Magic Keyboard, Trackpad, and Mouse between Macs, with no Apple ID and no USB re-pairing.
joshua.hu