{"id":48561,"date":"2025-07-21T15:46:45","date_gmt":"2025-07-21T19:46:45","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=48561"},"modified":"2025-07-21T15:46:59","modified_gmt":"2025-07-21T19:46:59","slug":"using-a-macbook-trackpad-as-a-scale","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2025\/07\/21\/using-a-macbook-trackpad-as-a-scale\/","title":{"rendered":"Using a MacBook Trackpad As a Scale"},"content":{"rendered":"<p><a href=\"https:\/\/github.com\/KrishKrosh\/TrackWeight\">Krish Shah<\/a> (via <a href=\"https:\/\/news.ycombinator.com\/item?id=44635808\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/github.com\/KrishKrosh\/TrackWeight\"><p><a href=\"https:\/\/x.com\/KrishRShah\/status\/1947186835811193330\">TrackWeight<\/a> is a macOS application that transforms your MacBook&rsquo;s trackpad into an accurate weighing scale by leveraging the Force Touch pressure sensors built into modern MacBook trackpads.<\/p><p>[&#8230;]<\/p><p>TrackWeight utilizes the <a href=\"https:\/\/github.com\/Kyome22\/OpenMultitouchSupport\">Open Multi-Touch Support library<\/a> by <a href=\"https:\/\/github.com\/Kyome22\">Takuto Nakamura<\/a> 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.<\/p><p>The key insight is that trackpad pressure events are only generated when there&rsquo;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&rsquo;s Force Touch sensors provide precise pressure readings that can be calibrated and converted into weight measurements.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/news.ycombinator.com\/item?id=44636752\">Justin Miller<\/a>:<\/p>\n<blockquote cite=\"https:\/\/news.ycombinator.com\/item?id=44636752\">\n<p>This reminds me of how, twenty years ago, I <a href=\"https:\/\/allthegooddomainsweretaken.justinmiller.io\/2007\/04\/04\/allegro-never-misses-a-beat\/\">used the PowerBook&rsquo;s hard drive vibration sensor<\/a> to rig up a seismograph to measure construction noise.<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2018\/09\/19\/apples-measure-app-and-accuracy\/\">Apple&rsquo;s Measure App and Accuracy<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2015\/03\/17\/force-touch-trackpad\/\">Force Touch Trackpad<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Krish Shah (via Hacker News): TrackWeight is a macOS application that transforms your MacBook&rsquo;s trackpad into an accurate weighing scale by leveraging the Force Touch pressure sensors built into modern MacBook trackpads.[&#8230;]TrackWeight utilizes the Open Multi-Touch Support library by Takuto Nakamura to gain private access to all mouse and trackpad events on macOS. This library [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2025-07-21T19:46:48Z","apple_news_api_id":"4ae93655-5f20-4850-90e5-26c8e4db8ee8","apple_news_api_modified_at":"2025-07-21T19:47:02Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/ASuk2VV8gSFCQ5SbI5NuO6A","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[1272,2616,30,32,1155,2598,74,71,1150],"class_list":["post-48561","post","type-post","status-publish","format-standard","hentry","category-technology","tag-3d-touch","tag-fun-hack","tag-mac","tag-macapp","tag-macbook","tag-macos-15-sequoia","tag-opensource","tag-programming","tag-trackpad"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/48561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=48561"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/48561\/revisions"}],"predecessor-version":[{"id":48563,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/48561\/revisions\/48563"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=48561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=48561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=48561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}