stuyam / pressure

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

Doesn't work on any device? #102

Open ronaldjeremy opened 2 years ago

ronaldjeremy commented 2 years ago

I have tried visiting the pressure.js homepage and from 3 different touch devices and none of them results in the Pressure Change example working (they all use polyfill).

Surface Pro 7 with Chrome 96.0.4664.45 Apple iPad Pro 4th gen with Safari Samsung Galaxy S21 Ultra with Chrome 96.0.4664.45

Just to test, the Surface Pen did work on the Surface and the S-pen worked on the Galaxy (but the apple pen did not work on the iPad). But what am after is it working with finger touch. Does anyone know if this ever worked on a Surface with finger touch? Or does this plugin work with pens only?


Please provide information about the device you are seeing the issue on Device is a [year] [device] [model] Operating system is [OS] [version] Browser is [browser] [version]

JonathanTreffler commented 2 years ago

Touchscreens are not capable of detecting how hard you press them. Pressure gets measured by the pens. Non existing data can not be collected by the os, browser and this plugin.