TrackWeight is a macOS application that transforms your MacBook's Force Touch trackpad into an accurate weighing scale by leveraging private multitouch APIs via a custom OpenMultitouchSupport library fork. It requires you to maintain finger contact with the trackpad while placing objects on it, as capacitance detection is necessary to trigger pressure readings.
Built with SwiftUI and Combine, it has been calibrated using conventional scales to convert trackpad pressure into grams. Limitations include the need for constant finger touch and potential interference from metal objects. Works on MacBook Pro (2015+) and MacBook (2016+) with macOS 13.0+ and requires App Sandbox disabled.
Use Cases:
Turn your MacBook's trackpad into a precise digital weighing scale
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.
https://github.com/user-attachments/assets/7eaf9e0b-3dec-4829-b868-f54a8fd53a84
To use it yourself:
TrackWeight utilizes a custom fork of the Open Multi-Touch Support library (https://github.com/krishkrosh/OpenMultitouchSupport) by Takuto Nakamura (https://github.com/Kyome22) 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.
brew install --cask krishkrosh/apps/trackweight --force
TrackWeight.xcodeproj in XcodeAI-powered video translation and dubbing tool supporting 100 languages with voice cloning, automated subtitle generation, and platform-optimized output for global content distribution.
All-in-one AI content marketing platform for creating, publishing, and monetizing across 14+ social channels with automation, trend tracking, and engagement tools.
Privacy-first AI meeting assistant with local transcription, speaker diarization, and automated summarization running entirely on your infrastructure without cloud dependencies.
Modern cross-platform system monitor built with Rust offering real-time CPU and memory tracking with beautiful UI, process management, and advanced search capabilities.
Ultra-efficient large language model achieving 3x faster reasoning generation on end devices with hybrid sparse attention and extensive hardware acceleration support.
Feature-rich Flutter-based Bilibili third-party client supporting multiple platforms with offline playback, DLNA casting, and extensive social interaction features.