Hacker News new | ask | show | jobs
by jandrese 837 days ago
You can also detect pressure by just measuring how much of your finger is touching the pad. A small spot means light pressure, a large spot where your skin is flatted out more against the glass is higher pressure. In practice these kinds of measurements are fairly tricky so they don't get used very much.
1 comments

This. If you ever look at apples raw input touch privateframework it provides enough data for the relative direction/size as well as has some encoded states to at least detect between a very faint touch and a finger on the trackpad.

This I think goes back to the first unibody MacBooks from around 2008.

The multitouch trackpads actually showed up in the early 2008 MacBook Pros that were the last ones before switching to the unibody enclosure (IIRC the keyboard/trackpad parts could be retrofitted into 2007 MacBook Pros). The early 2008 models still had a separate physical button at the bottom of the trackpad. The late 2008 models got rid of the button and made the whole trackpad hinged at the top to act as a button. Then in 2015 they introduced the Force Touch trackpad that fixed the awkwardness of needing more force to click the further up the trackpad you went.
Yep. And this blog post from 2009 was a big inspiration for me in exploring touch on the mac: https://archive.org/details/2009-03-28-steike-code-macbook-m...

and a comment a few years ago by me: https://news.ycombinator.com/item?id=23274577