Real-Time Spatial Motion Sensor & Multi-Protocol UDP Telemetry Hub for AirPods on Windows 11 x64
English | 简体中文 · FAQ · Hardware Compatibility · Architecture · Releases
PodMotion turns a pair of Apple AirPods connected directly to a Windows 11 x64 PC into a ~50 Hz 3-DOF spatial orientation sensor, while simultaneously maintaining normal Windows stereo audio playback. It decodes real-time head/device motion (SensorDataWX over Bluetooth Classic L2CAP PSM 0x1001 / Apple Accessory Protocol) and battery telemetry, streaming gravity-aligned Euler angles (Yaw / Pitch / Roll), calibrated relative quaternions, and raw sensor quaternions over localhost UDP.
- Zero External Relay Devices: Runs natively on a single Windows 11 PC — no iPhone, iPad, or Mac network bridge required.
- Secure Boot ON, TestSigning OFF: Zero unsigned kernel drivers. Physical USB Bluetooth interfaces bind exclusively to inbox Microsoft-signed
WinUSB(winusb.inf), and virtual radio attachment uses Microsoft WHLK-signed open-sourceusbip-win2verified against pinned SHA-256 digests and Authenticode signatures. - Dual UDP Protocols & Optional OpenTrack Bridge: Stream 48-byte little-endian
double[6]binary packets (127.0.0.1:4242), structured UTF-8 JSON datagrams (127.0.0.1:4243), or both simultaneously. OpenTrack is completely optional and only needed when translating UDP pose into TrackIR / FreeTrack for games. - Bilingual Installer:
PodMotion-Setup-x64.exe(English & Simplified Chinese) automatically selects a single detected USB Bluetooth controller and shows a chooser when several are available.
- PC Flight, Racing & Sim Head Tracking (700+ TrackIR / FreeTrack Titles): Microsoft Flight Simulator 2020/2024, Euro Truck Simulator 2, DCS World, Star Citizen, Elite Dangerous, War Thunder, Arma Reforger / Arma 3, Assetto Corsa, and more via OpenTrack.
- Spatial Audio & Binaural DAW Monitoring: Low-latency head-rotation telemetry for Reaper, Cubase, Nuendo, Waves Nx, DearVR, and custom binaural renderers.
- VTuber Motion Capture, Accessibility & Creative Hardware: Subscribe directly to
127.0.0.1:4243JSON telemetry from Python, Node.js, Rust, C#, Unity, Unreal Engine, TouchDesigner, or VTube Studio plugins in ~10 lines of standard-library code.
PodMotion separates hardware support into Verified (hardware-tested end-to-end) and Experimental (supported by the standard HCI transport engine, actively collecting community reports):
| Component | Tier | Hardware / Models | Notes |
|---|---|---|---|
| USB Bluetooth Controller | Verified | MediaTek Composite (USB\VID_0489&PID_E111&MI_00) |
End-to-end verified on Windows 11 24H2–26H2 (50 Hz / 100 Hz AAP pose + A2DP stereo, sleep-command 0xFC38 guard, hot-update, OEM restore). |
| USB Bluetooth Controller | Experimental | Intel (8087:*, incl. AX200/AX201/AX210/BE200 USB BT), Realtek (0BDA:*), MediaTek (0E8D:*), CSR/Broadcom (Class E0 / SubClass 01 / Prot 01) |
Selectable directly in PodMotion-Setup-x64.exe via standard_hci policy. Keep a wired mouse/keyboard handy during initial setup. |
| AirPods / Headsets | Verified | AirPods Pro 3 (PID 0x2027), AirPods 4 (ANC, A3057) |
Uses SensorDataWX service 16 + battery notifications. AirPods 4 (ANC) verified at both 50.0 Hz and 99.5 Hz (100 Hz High Refresh mode). |
| AirPods / Headsets | Experimental | AirPods Pro (1st / 2nd Gen), AirPods (3rd Gen / 4th Gen non-ANC), AirPods Max, Beats Fit Pro | Automatic AAP service fallback (16 -> 14 -> 6) built in and cached per device MAC. |
Tested another USB Bluetooth adapter or AirPods model? Submit a redacted report via the Hardware Compatibility Issue Template — see docs/ADAPTERS.md.
- Download
PodMotion-Setup-x64.exefrom Releases (verify checksums againstPodMotion-SHA256SUMS.txtif desired). - Run the installer (English & Simplified Chinese). If it finds several USB Bluetooth controllers, choose the one to use. If none are detected, check Windows Bluetooth and click Scan again.
- Upgrading from an earlier install? The wizard automatically preserves your saved axis calibration and hot-updates the backend service in place.
- Launch
PodMotion.exe(Direct2D precision UI with English / Simplified Chinese instant switching, Zinc Dark / Paper Light / System themes; minimize-hides to the system tray, while close×stops sampling and exits cleanly by default). - Put on your paired AirPods and click Start Sampling (
开始采样) to view live 3-axis orientation and begin UDP streaming. After a successful session, PodMotion remembers the headset and can automatically start when it reconnects. - Recenter & Calibration:
- Trigger instant recenter from the UI, a custom global keyboard hotkey (default
Ctrl+Shift+F11), or any HID joystick / gamepad / HOTAS / racing wheel button (supports both tap-to-recenter and hold-to-center), with an optional subtle stereo chime. - Run the 4-Step Quick Pitch Calibration (
俯仰校准, ~8 seconds:Level → Up → Down → Center) once with live pose preview to eliminate cross-axis coupling caused by natural ear-canal wearing angle.
- Trigger instant recenter from the UI, a custom global keyboard hotkey (default
- (Optional) OpenTrack Game Head Tracking:
- In PodMotion's Output (
输出) tab, select Binary or Dual mode and click Write Profile (写入配置). - Open (or restart) OpenTrack, select the
PodMotion Head Trackingprofile, and click Start. - Note for OpenTrack 2026.1.0: Click Stop before closing the OpenTrack window when using UDP input to avoid upstream exit assertion opentrack#2130.
- In PodMotion's Output (
Microphone Note: To guarantee uninterrupted stereo A2DP playback and low-latency AAP sensor packets, the USB relay forwards Control, HCI Event, and Bulk ACL pipes and intentionally omits Isochronous HFP voice input endpoints (which also prevents Windows from degrading AirPods audio into mono Hands-Free Telephony mode). Select a standalone desk, headset, or webcam microphone in Windows Sound Settings when using voice chat.
Switch protocols or edit ports inline on the Output (输出) tab — changes apply atomically at runtime without reconnecting Bluetooth.
Each sensor frame emits a single-line UTF-8 JSON datagram (~220 bytes, zero heap allocation in the hot path):
{"app":"PodMotion","seq":1042,"t_ms":20840,"service":16,"euler_deg":{"yaw":12.45,"pitch":0.00,"roll":0.00},"quat_rel":[0.00000,0.00000,-0.10843,0.99410],"quat_raw":[0.14210,0.05120,-0.69100,0.70680],"battery":{"left":85,"right":85,"case":null}}euler_degandquat_relrepresent the same calibrated head pose (incorporating pitch cross-axis calibration, online stationary yaw-drift suppression, gravity-aligned recenter, and optional roll inversion).- Quaternions are ordered
[x, y, z, w].quat_reluses the recentered Forward (+X), Left (+Y), Up (+Z) frame with intrinsic rotation compositionRz(-yaw) · Ry(-pitch) · Rx(roll). quat_rawexposes the decoded sensor orientation prior to relative recentering.t_msis elapsed milliseconds in the current sampling session.
Zero-Dependency Python Listener (also available via one-click copy inside the client):
import json, socket
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.bind(("127.0.0.1", 4243))
while True:
frame = json.loads(sock.recv(2048).decode("utf-8"))
e = frame["euler_deg"]
print(f"seq={frame['seq']} yaw={e['yaw']:+.1f} pitch={e['pitch']:+.1f} roll={e['roll']:+.1f}")Each frame emits 48 bytes of little-endian IEEE-754 double[6]:
[ 0.0, 0.0, 0.0, yaw_deg, pitch_deg, roll_deg ]
- Inbox & WHLK-Signed Drivers Only: Physical USB interfaces bind to Microsoft
winusb.inf; virtual USB attachment uses Microsoft WHLK-signedusbip-win2 0.9.8.1. Secure Boot remains ON and TestSigning remains OFF. - Hardened Local IPC: The loopback USB/IP listener accepts only the Windows kernel
Systemprocess (PID 4) and closes its listening socket immediately after import. The named pipe\\.\pipe\PodMotion.Radio.Aaprejects remote network access, enforcesaap::allowed_requestuplink packet whitelisting on the server, and verifiesSYSTEM/Administratorspipe ownership on the client (SECURITY_SQOS_PRESENT | SECURITY_IDENTIFICATION). - Automatic Watchdog & One-Click OEM Recovery:
- If the virtual radio fails to reach steady state during startup,
PodMotionRadioServiceautomatically rolls the adapter back to its backed-up OEM driver. - At any time, run PodMotion - Restore OEM Bluetooth (
PodMotionRestore.exe) from the Start Menu / Desktop or uninstallPodMotionfrom Windows Installed Apps to restore your original OEM Bluetooth driver cleanly.
- If the virtual radio fails to reach steady state during startup,
- Frequently Asked Questions (FAQ) · 常见问题解答 (中文)
- System Architecture
- Bluetooth Adapters & Headsets
- Hardware Acceptance & Recovery Checklist
- Build & Development Guide
- Contributing & Compatibility Reports · Security Policy · Changelog · Third-Party Notices
Released under the MIT License.
Apple, AirPods, AirPods Pro, and AirPods Max are trademarks of Apple Inc., registered in the U.S. and other countries. PodMotion is an independent open-source sensor utility and is not affiliated with, endorsed by, or sponsored by Apple Inc.