Magic Switch: Share a Magic Keyboard & Trackpad Between Two Macs (Free)
Summary
This article introduces Magic Switch, an open-source macOS app that enables sharing an Apple Magic Keyboard, Trackpad, or Mouse between two Macs without Apple ID or USB re-pairing. It details the security architecture (mutual authentication, 12-character pairing codes, ChaCha20-Poly1305 encryption, HKDF-derived session keys) and the UX, pairing flow, and edge-case handling for sleep and handoffs. It also discusses device ownership, UI improvements, and practical considerations for multi-device peripheral management.