Workflow
挖掘硬件隐藏技能
icon
Search documents
MacBook秒变电子秤,程序员爆改触控板,开源斩获2.6k Star后紧急劝退网友:千万别拿来称体重
3 6 Ke· 2025-07-24 01:19
Core Insights - A Canadian creator, Krish Shah, developed an application called TrackWeight that transforms the MacBook Pro's Force Touch trackpad into a small electronic scale, capable of weighing items like coffee beans and small bottles with an accuracy of within 2 grams [1][4][14]. Group 1: Application Development - TrackWeight utilizes the pressure sensitivity feature of the Force Touch trackpad, which was originally designed for actions like "force click" [2][4]. - The application reads pressure data from the trackpad and converts it into weight measurements, leveraging a private API discovered by Shah through extensive research [4][5]. - The app's interface is built using SwiftUI, and it employs the Combine framework for smooth data transmission, making it appear as a native macOS application [5]. Group 2: Technical Specifications - TrackWeight requires macOS 13.0 or higher, a MacBook with a Force Touch trackpad (2015 MacBook Pro or later, 2016 MacBook Air or later), and the App Sandbox must be disabled for proper functionality [9][10][11]. - The application is open-source and available on GitHub under the MIT license, allowing for modification and distribution [7]. Group 3: User Experience and Limitations - Users must keep their fingers on the trackpad without applying additional pressure to obtain accurate weight readings [13][14]. - There are limitations, such as potential misinterpretation of metal objects as fingers, and the need for items to be placed within the trackpad's range for accurate measurements [15][16]. - The application is experimental and primarily aimed at enthusiasts, not recommended for commercial use or scenarios requiring high precision [13]. Group 4: Community Response and Future Potential - TrackWeight gained significant attention, receiving 2.6k stars on GitHub within two days of release, indicating strong community interest [8]. - The project has sparked discussions about the potential for similar applications and features, with users expressing interest in integrating such functionalities into kitchen apps or smart home systems [26].