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

this plug-in failed on almost all devices #94

Open zechlov opened 3 years ago

zechlov commented 3 years ago

add issue description here it get back wrong pressure info from almost all browsers.


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

zhy531017132 commented 3 years ago

add issue description here it get back wrong pressure info from almost all browsers.

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

The demo on the official website can't be displayed correctly!

santolucito commented 3 years ago

The plugin works fine for me on a Samsung galaxy - or at least it seems like the right pressure values. What do you mean when you say "wrong pressure info"?

numerized commented 3 years ago

This plugin and all techniques I can find online don't work on newer iOS devices, apparently they removed 3d touch screens and now have haptic touch screen which is not returning any value at touchforcechanged or Touch.force events.