flâneur — a map of the web's best reading

KrishKrosh/TrackWeight: Use your Mac trackpad as a weighing scale

github.com · 602 words · saved by 1 readers

TrackWeight is a macOS application that transforms your MacBook's trackpad into an accurate weighing scale by leveraging the Force Touch pressure sensors built into modern MacBook trackpads. To use it yourself: TrackWeight utilizes a custom fork of the Open Multi-Touch Support library by Takuto Nakamura to gain private access to all mouse and trackpad events on macOS. This library provides detailed touch data including pressure readings that are normally inaccessible to standard applications. The key insight is that trackpad pressure events are only generated when there's capacitance detected on the trackpad surface - meaning your finger (or another conductive object) must be in contact with the trackpad. When this condition is met, the trackpad's Force Touch sensors provide precise pressure readings that can be calibrated and converted into weight measurements. For more information about setting up the build pipeline, see .github/workflows/README.md. The weight calculations have been

Explore this link on the map →

saved by

related reading