Hacker GitHub

← All repos

olvvier/apple-silicon-accelerometer

View on GitHub ↗ ★ 1,253 Python

reading the undocumented mems accelerometer + gyroscope on apple silicon macbooks via iokit hid

4 mentions on Hacker News by 3 people: 1 story, 3 comments · first 2026-02-20 · latest 2026-03-17

Mentions per year 4 mentions · busiest year 2026 (4)
20082026
  1. I built this after discovering and open-sourcing the accelerometer signal in Apple Silicon MacBooks ( https://github.com/olvvier/apple-silicon-accelerometer ). The sensor reads impact force and vibration data in real time. Haptyk maps that…
  2. …Olivier Bourbonnais figured out how to read the private accelerometer APIs on Apple Silicon macs: https://github.com/olvvier/apple-silicon-accelerometer I created a set of CLI tools that let you pipe mac sensor data around like modular…
  3. …# Sample(x, y, z) in g print(imu.latest_gyro()) # Sample(x, y, z) in deg/s requires sudo. details: https://github.com/olvvier/apple-silicon-accelerometer
  4. ▲ 154
    Reading the undocumented MEMS accelerometer on Apple Silicon MacBooks via iokit
    story by todsacerdoti · 2026-02-20 · 61 comments