Pārlūkot izejas kodu

Android: remove another hard-coded constant for Samsung DeX (no op!)

Sylvain Becker 6 gadi atpakaļ
vecāks
revīzija
55838d8bd6

+ 2 - 1
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;
                 }