Remove right override button behavior

This commit is contained in:
SerpentSpirale 2021-11-18 00:05:43 +01:00 committed by Boulay Mathias
parent 304a84a13b
commit 9198413f11

View File

@ -543,13 +543,7 @@ public class ControlButton extends androidx.appcompat.widget.AppCompatButton imp
break; break;
case ControlData.SPECIALBTN_MOUSESEC: case ControlData.SPECIALBTN_MOUSESEC:
if (CallbackBridge.isGrabbing()) { sendMouseButton(LWJGLGLFWKeycode.GLFW_MOUSE_BUTTON_RIGHT, isDown);
sendMouseButton(LWJGLGLFWKeycode.GLFW_MOUSE_BUTTON_RIGHT, isDown);
} else {
CallbackBridge.putMouseEventWithCoords(LWJGLGLFWKeycode.GLFW_MOUSE_BUTTON_RIGHT, isDown , CallbackBridge.mouseX, CallbackBridge.mouseY);
BaseMainActivity.setRightOverride(isDown);
}
break; break;
case ControlData.SPECIALBTN_SCROLLDOWN: case ControlData.SPECIALBTN_SCROLLDOWN: