From 55838d8bd6406dc9ef3ef6aa9b824a4d7c5d2cfe Mon Sep 17 00:00:00 2001 From: Sylvain Becker Date: Thu, 17 Jan 2019 14:59:46 +0100 Subject: [PATCH] Android: remove another hard-coded constant for Samsung DeX (no op!) --- .../app/src/main/java/org/libsdl/app/SDLControllerManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android-project/app/src/main/java/org/libsdl/app/SDLControllerManager.java b/android-project/app/src/main/java/org/libsdl/app/SDLControllerManager.java index ed671262a..cccc6462f 100644 --- a/android-project/app/src/main/java/org/libsdl/app/SDLControllerManager.java +++ b/android-project/app/src/main/java/org/libsdl/app/SDLControllerManager.java @@ -721,7 +721,8 @@ class SDLGenericMotionListener_API26 extends SDLGenericMotionListener_API24 { return SDLControllerManager.handleJoystickMotionEvent(event); case InputDevice.SOURCE_MOUSE: - case 12290: // DeX desktop mouse cursor is a separate non-standard input type. + // DeX desktop mouse cursor is a separate non-standard input type. + case InputDevice.SOURCE_MOUSE | InputDevice.SOURCE_TOUCHSCREEN: if (!SDLActivity.mSeparateMouseAndTouch) { break; }