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
20082026
-
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…
comment by olvvier · 2026-03-17 · in Show HN: Mech keyboard sounds driven by a hidden accelerometer in MacBooks -
…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…
comment by nikisweeting · 2026-02-27 · in Show HN: Mac hardware toys – pipe your accelerometer into your keyboard lights -
…# 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
comment by olvvier · 2026-02-25 · in Reading the undocumented MEMS accelerometer on Apple Silicon MacBooks via iokit