On the Mac, open Kare in the menu bar, choose Pair a Phone, and scan the code with your camera.
Connecting…
tap to click · two fingers scroll · two-finger tap: right click · three fingers: desktops · hold, then move: drag
The trackpad works on the Mac's Wi-Fi.
Keys, apps and the keyboard work from anywhere.