mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-14 03:06:17 +00:00
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
@ -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 New Issue
Block a user