소스 검색

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

Sylvain Becker 7 년 전
부모
커밋
55838d8bd6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      android-project/app/src/main/java/org/libsdl/app/SDLControllerManager.java

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