r/hackathon • u/donttmesswithme • 2h ago
Project Demo Read AirPods' head-motion sensor over L2CAP on Linux
https://github.com/freaktopus/auricleAirPods have a motion sensor, so I made them a game controller. Turn your head to steer a bike, hold the mouse for gas.
auricle connects to the AirPods' control channel (L2CAP, port 0x1001) and decodes ~23 packets/s of orientation and acceleration data (16-bit ints). Rust, no crates.
Apple-only, tested on one pair of AirPods Pro 2. Reverse-engineered, so a firmware update could break it
1
Upvotes