diff --git a/bVNC/src/main/java/com/iiordanov/bVNC/input/TouchInputHandlerGeneric.java b/bVNC/src/main/java/com/iiordanov/bVNC/input/TouchInputHandlerGeneric.java index 803750264..b4234df1e 100644 --- a/bVNC/src/main/java/com/iiordanov/bVNC/input/TouchInputHandlerGeneric.java +++ b/bVNC/src/main/java/com/iiordanov/bVNC/input/TouchInputHandlerGeneric.java @@ -170,6 +170,7 @@ protected boolean handleMouseActions(MotionEvent e) { switch (action) { // If a mouse button was pressed or mouse was moved. case MotionEvent.ACTION_DOWN: + case MotionEvent.ACTION_BUTTON_PRESS: case MotionEvent.ACTION_MOVE: switch (bstate) { case MotionEvent.BUTTON_PRIMARY: @@ -193,6 +194,7 @@ protected boolean handleMouseActions(MotionEvent e) { break; // If a mouse button was released. case MotionEvent.ACTION_UP: + case MotionEvent.ACTION_BUTTON_RELEASE: switch (bstate) { case 0: if (e.getToolType(0) != MotionEvent.TOOL_TYPE_MOUSE) {