ForceTouch in macOS
Jul 26, 2017 · 1 min read
Here are some handy snippets when dealing with ForceTouch in macOS:

Event handler:
Normalize the pressure:
Originally published at gist.github.com.
Here are some handy snippets when dealing with ForceTouch in macOS:

Originally published at gist.github.com.