From c075ad0a1e9e496bd2b0adf353d539933aa8c7ee Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Sun, 11 Mar 2018 14:11:43 +0100 Subject: [PATCH] Fix mouse clicks on LG devices Use default values (0) for some fields of PointerCoords so that mouse clicks work correctly on LG devices. Fixes . --- .../src/main/java/com/genymobile/scrcpy/EventController.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/src/main/java/com/genymobile/scrcpy/EventController.java b/server/src/main/java/com/genymobile/scrcpy/EventController.java index 4a0ce331..547e20ca 100644 --- a/server/src/main/java/com/genymobile/scrcpy/EventController.java +++ b/server/src/main/java/com/genymobile/scrcpy/EventController.java @@ -39,10 +39,6 @@ public class EventController { coords.orientation = 0; coords.pressure = 1; coords.size = 1; - coords.toolMajor = 1; - coords.toolMinor = 1; - coords.touchMajor = 1; - coords.touchMinor = 1; } private void setPointerCoords(Point point) {