All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Accessing Apple Silicon MacBook Accelerometer and Gyroscope via IOKit HID

By

todsacerdoti

3mo ago· 8 min readenCode

Summary

This article documents a GitHub project that enables reading the undocumented MEMS accelerometer and gyroscope sensors in Apple Silicon MacBooks via IOKit HID. The project provides technical details on accessing these sensors that Apple doesn't officially expose, and showcases several creative applications built using this capability, including haptic feedback apps, gesture recognition tools, and novelty applications that respond to physical interactions with the MacBook.

Key quotes

· 5 pulled
reading the undocumented mems accelerometer + gyroscope on apple silicon macbooks via iokit hid
Haptyk: Free macOS app that turns your typing force into real mechanical keyboard sounds using the accelerometer
Slap your MacBook, it yells back. Uses Apple Silicon accelerometer via IOKit HID
Turns taps on your MacBook into instant actions using the built-in accelerometer in Apple Silicon MacBooks
Programmatically control Mac keyboard & display brightness, accelerometer data, fan speed, and more
Snippet from the RSS feed
reading the undocumented mems accelerometer + gyroscope on apple silicon macbooks via iokit hid - olvvier/apple-silicon-accelerometer

You might also wanna read