先前才有網(wǎng)友發(fā)現(xiàn) Macbook 的觸控板能夠精準(zhǔn)測量重量,開發(fā)了秤重軟體,現(xiàn)在又被發(fā)現(xiàn)筆電的轉(zhuǎn)軸也暗藏玄機(jī),能夠感應(yīng)螢?zāi)婚_蓋的角度,於是突發(fā)奇想,開發(fā)能夠顯角度的 App,讓其獲得了可充當(dāng)量角器的功能。
網(wǎng)友 @samhenrigold 在社群網(wǎng)站 X 上分享,原來 Apple 有在 Macbook 筆電轉(zhuǎn)軸中放入感應(yīng)器,讓筆電能夠感應(yīng)筆電上蓋的開啟角度,只不過系統(tǒng)預(yù)設(shè)上,是不會告知用戶的,但經(jīng)過該網(wǎng)友的努力之下,他找到了能夠讀取數(shù)據(jù)來源的方法。
Did you know your MacBook has a sensor that knows the exact angle of the screen hinge?It’s not exposed as a public API, but I figured out a way to read it and make it sound like an old wooden door. pic.twitter.com/qysTbr9TV4
— sam henri gold (@samhenrigold) September 6, 2025透過加入簡單的 UI 介面,Macbook 上蓋開啟角度變得可視化,感應(yīng)器可以偵測最低 0.1 度的角度變化,起初介面所顯示的角度定義沒有設(shè)定好,使得螢?zāi)魂P(guān)閉下的角度不是 0 度,在經(jīng)過幾番修正,已將程式上傳到 GitHub 上供大家自由使用。
you know what? screw it. theremin mode. https://t.co/LAYXtYszvW pic.twitter.com/XHWNLToc8u
— sam henri gold (@samhenrigold) September 6, 2025後續(xù) @MehdiHacks 在原文的留言處補(bǔ)充了 Macbook 轉(zhuǎn)軸感應(yīng)器的外觀,解釋其主要功能是透過感應(yīng)上蓋的角度,從而判定筆電是否闔上,並以此來讓系統(tǒng)確認(rèn)筆電當(dāng)前的狀態(tài)是否應(yīng)該進(jìn)入休眠,或有無必要在開蓋狀下停用觸控板。
Here's a water damaged MacBook Lid Angle Sensor vs a normal one.The sensor's job is to detect the lid angle (e.g. to sleep the MacBook or disable touchpad in clamshell mode, etc)It needs calibration after replacement.Unfortunately Apple doesn't let you use a working sensor… pic.twitter.com/pMixzDDeZD
— Mehdi (@MehdiHacks) April 15, 2025這個(gè)感應(yīng)器與筆電都是綁定的,所以如果感應(yīng)器發(fā)生損壞,從其他 Macbook 上移植是沒有用的,好在,該項(xiàng)零件的費(fèi)用不算太高昂,Apple 的報(bào)價(jià)為 12 歐元,相當(dāng)約新臺幣 430 元。
關(guān)于我們|版權(quán)聲明| 違法和不良信息舉報(bào)電話:010-84151598 | 網(wǎng)絡(luò)敲詐和有償刪帖舉報(bào)電話:010-84151598
Copyright ? 2008-2024 by {當(dāng)前域名}. all rights reserved