Workflow
MacBook秒变电子秤!程序员爆改触控板,开源斩获2.6k Star后紧急劝退网友:千万别拿来称体重
AppleApple(US:AAPL) 猿大侠·2025-07-24 04:56

Core Viewpoint - A Canadian creator, Krish Shah, has developed an application called TrackWeight that transforms the Force Touch trackpad of MacBook Pro and MacBook Air into a digital weighing scale, capable of measuring small objects like coffee beans and remote controls with an accuracy of within 2 grams [2][4][8]. Group 1: Application Development - TrackWeight utilizes the pressure sensitivity feature of the Force Touch trackpad, which was originally designed for actions like "force click" to look up definitions [5][6]. - The application reads pressure data from the trackpad and converts it into weight readings, leveraging a private API discovered by Shah that allows real-time pressure data access [9][10]. - The app is built using SwiftUI for the interface and the Combine framework for data transmission, making it appear as a native macOS application [11]. Group 2: Technical Specifications - TrackWeight requires macOS 13.0 or higher and is compatible only with MacBook models equipped with Force Touch trackpads, specifically those released from 2015 onwards [20]. - Users must disable App Sandbox to allow the application to access low-level hardware features necessary for accurate pressure readings [20]. - The application has been open-sourced on GitHub under the MIT license, allowing for modification and distribution [13]. Group 3: User Experience and Limitations - Users must keep their fingers in contact with the trackpad while weighing objects to ensure accurate pressure data is captured [16][17]. - The application is experimental and not recommended for commercial use or scenarios requiring high precision [16]. - There are limitations, such as potential misidentification of metal objects as fingers, which can be mitigated by placing a tissue on the trackpad [19]. Group 4: Community Engagement and Future Potential - The release of TrackWeight has sparked discussions on platforms like Hacker News and Reddit, with users exploring creative applications of the technology [22]. - Some users have expressed interest in integrating similar functionalities into kitchen apps or smart home systems, indicating a potential market for such innovations [28][29].