Logic Foundry

Build with understanding.

NodLink uses AirPods head tracking to control a Mac cursor

In a November 8, 2026 account of the project, developer Uinui described NodLink, an open-source tool that turns head movements measured by compatible AirPods into Mac cursor movement. It is intended to offer a hands-free way to use a computer, including for people who find a conventional mouse difficult to operate. The demonstrations and performance observations are the developer’s, not independent tests.

After calibration, turning the head moves the cursor horizontally, while looking up or down moves it vertically. Tilting the head can trigger configurable actions: by default, a left tilt and return clicks, a right tilt and return right-clicks, and holding a left tilt holds the mouse button for dragging. Voice commands can also click, scroll, copy and paste. According to Uinui, speech recognition runs locally; the cursor freezes when the user starts speaking so a movement during recognition does not shift the target. The developer says spoken commands can occasionally be misheard.

NodLink uses Apple’s CMHeadphoneMotionManager to read the earbuds’ motion data rather than a camera. Uinui says this should allow use while lying down, facing away from the screen or in the dark, though the project does not track eye movements. Calibration starts by pointing the nose at the screen centre for two seconds; an optional path calibration takes about 30 seconds. A One Euro filter reduces cursor jitter, while gradual correction and a manual recenter command address heading drift.

The implementation has two parts: a Swift Mac program reads the AirPods data, handles voice commands and controls the system cursor; a web console built with Node.js and three.js handles calibration, filtering, gesture recognition and a 3D view. Uinui says permissions and data are handled on the device.

The stated requirements are macOS 14 or later and head-tracking AirPods—third-generation or later AirPods, AirPods Pro, or AirPods Max. Installation currently requires Terminal and Node.js. NodLink is available under the MIT licence, but supports only Mac for now. Uinui outlined a possible future iPhone approach using an ESP32 board as a Bluetooth mouse; that is a plan, not a feature of the current release.