stuyam / pressure

:point_down::boom: JavaScript library for handling Force Touch, 3D Touch, and Pointer Pressure.
https://pressurejs.com
MIT License
2.92k stars 97 forks source link

Let Force Touch reach force of 1 #21

Closed stuyam closed 8 years ago

stuyam commented 8 years ago

The force touch value only gets up to around 0.9997...... or 0.9995.... it varies. But 3d touch and the shim go from 0 to 1. Force touch should return 1 if the force is over 0.999 so that you can do a check for 1 as the max force value and every situation will go from 0 to 1.