Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.15.2, 5.15
-
None
Description
I tested on three different Android devices, and always:
(event->device()->capabilities() & QTouchDevice::Pressure) != 0
is true. But these devices have no any sensors to detect value of pressure and this method https://developer.android.com/reference/android/view/MotionEvent#getPressure() always return "1.0".
In other words in almost every Android device "(event->device()->capabilities() & QTouchDevice::Pressure)" should return 0.
Internet say that "Deep Press API" is available on some Pixel 4 devices. May this is possible to use for calculation of correct capabilities.