Better HN
topnewbestaskshowjobs
Log inSign up

olvvier

2 karma · joined Feb 25, 2026 (9mo ago) · 5 submissions

Submissions

comment 8mo ago · link · parent

M1/M2/M3/M4+ MacBook Pros & Airs have an internal accelerometer that reads impact force and vibrations. Haptyk uses it to play mechanical keyboard sounds that match how hard you actually type.

Type gently = quiet click. Type hard = louder clack.

It feels way more natural than I expected.

First app to do this on mac, to my knowledge.

2.

App that uses a hidden sensor in Macs to turn typing force into keyboard sounds(haptyk.com ↗)

1 points · by olvvier · 8mo ago · 1 comment

comment 8mo ago · link · parent

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 to different sound intensities: soft taps play a quieter click, hard presses play a louder clack.

Would love to hear what you think.

4.

Show HN: Mech keyboard sounds driven by a hidden accelerometer in MacBooks(haptyk.com ↗)

6 points · by olvvier · 8mo ago · 1 comment

comment 9mo ago · link · parent

author here, quick update: the sensor code is now a standalone pip package

    pip install macimu

    from macimu import IMU
    with IMU() as imu:
        print(imu.latest_accel())  # 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