Inject touch events with smallest detectable size
A value of 1 means the "largest detectable size", a value of 0 means the "smallest detectable size". https://developer.android.com/reference/android/view/MotionEvent.PointerCoords#size https://developer.android.com/reference/android/view/MotionEvent#AXIS_SIZE Fixes #2125 <https://github.com/Genymobile/scrcpy/issues/2125>
This commit is contained in:
parent
b16b65a715
commit
218636dc10
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public class Controller {
|
|||
|
||||
MotionEvent.PointerCoords coords = new MotionEvent.PointerCoords();
|
||||
coords.orientation = 0;
|
||||
coords.size = 1;
|
||||
coords.size = 0;
|
||||
|
||||
pointerProperties[i] = props;
|
||||
pointerCoords[i] = coords;
|
||||
|
|
Loading…
Reference in a new issue