summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Becker <sylvain.becker@gmail.com>2019-01-17 14:59:46 +0100
committerSylvain Becker <sylvain.becker@gmail.com>2019-01-17 14:59:46 +0100
commit9fe9f944c4caa2e84775d92855f4f70e71d035c9 (patch)
tree3b9098db6bc5507e0290d85b674917f031cc045a
parent6b00cbb96e3d7cac5b7d469358bda7b1ae555fff (diff)
Android: remove another hard-coded constant for Samsung DeX (no op!)
-rw-r--r--android-project/app/src/main/java/org/libsdl/app/SDLControllerManager.java3
1 files changed, 2 insertions, 1 deletions
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 ed671262a4..cccc6462fb 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;
}