iPhone as keyboard and trackpad for Mac and PC

How the iPhone becomes a keyboard and trackpad for the computer, with the computer's picture on top.

Last updated:

Short answer: DuoMirror turns the iPhone into a keyboard and trackpad for a Mac or Windows PC and also shows the computer's screen. DuoMirror Host runs on the computer, and both devices are on the same network. The connection is end-to-end encrypted and free on the local network.

What it is good for

  • Operating the computer from the sofa or from another room
  • Quickly checking or typing something without going to the desk
  • Replying to an AI assistant on the computer while it works

The keyboard

DuoMirror does not show an iPhone keyboard but the computer's keyboard: on a Mac with fn, ⌃, ⌥ and ⌘, on a Windows PC with Ctrl, Windows key, Alt and AltGr. The app sends key positions rather than characters, so shortcuts and the computer's keyboard layout work as they do with an attached keyboard.

  • Letters are sent on release, with a preview above the key. If you miss, slide your finger to the right key before lifting it.
  • Holding repeats the key.
  • Every touch hits the nearest key; there are no dead gaps.
  • Keys give a tactile click and a key sound; both can be switched off.
  • Modifiers: one tap applies to the next key, a double tap locks the modifier.
  • The keyboard appears by itself when a text field becomes active on the computer.

The trackpad

GestureEffect
Move one fingerMove the pointer
Tap / double tapClick / double click
Tap and dragDrag
Two fingersScroll with momentum
Two-finger tapRight click
PinchZoom
Three fingersOn a Mac: Mission Control, App Exposé and Spaces; on Windows: Task View and virtual desktops

The mouse pointer is drawn on the iPhone and follows your finger without a detour through the video picture.

With and without a fold

On iPhone Duo the controls sit below the fold and the picture above it, like a small laptop. On an iPhone without a fold, portrait puts the picture on top with keyboard and trackpad below; in landscape the picture fills the screen and the controls can be shown on demand.

What DuoMirror is not

DuoMirror is not a Bluetooth keyboard. The iPhone does not register with the computer as an input device; it talks to the DuoMirror Host program over the network. It does not work without the host on the computer, and a locked computer cannot be operated.

Setup in brief

  1. Start DuoMirror Host on the Mac or Windows PC and allow the permissions.
  2. Open the app on the iPhone and tap the computer.
  3. Compare the 6-digit code and confirm on the computer.

In detail: guide for Mac, guide for Windows, download.

Frequently asked questions

Can I use an iPhone as a keyboard for a Mac?

Yes. DuoMirror shows a Mac keyboard with fn, ⌃, ⌥ and ⌘ on the iPhone and sends the keys to the Mac. The DuoMirror Host program runs on the Mac for this.

Can I use an iPhone as a trackpad for a Windows PC?

Yes. The app's trackpad controls the PC's pointer, with click, right click, scrolling and gestures for Task View and virtual desktops.

Do shortcuts such as ⌘C or Ctrl+C work?

Yes. The app sends key positions rather than characters, so shortcuts work as with an attached keyboard. Modifiers can be tapped for the next key or locked with a double tap.

Do I need Bluetooth?

No. DuoMirror works over the network, not over Bluetooth.