Android: remove another hard-coded constant for Samsung DeX (no op!)
authorSylvain Becker <sylvain.becker@gmail.com>
Thu, 17 Jan 2019 14:59:46 +0100
changeset 12559d88be7fb81a0
parent 12558 8ca43abe9870
child 12560 a7d52e2db27a
Android: remove another hard-coded constant for Samsung DeX (no op!)
android-project/app/src/main/java/org/libsdl/app/SDLControllerManager.java
     1.1 --- a/android-project/app/src/main/java/org/libsdl/app/SDLControllerManager.java	Thu Jan 17 13:42:13 2019 +0100
     1.2 +++ b/android-project/app/src/main/java/org/libsdl/app/SDLControllerManager.java	Thu Jan 17 14:59:46 2019 +0100
     1.3 @@ -721,7 +721,8 @@
     1.4                  return SDLControllerManager.handleJoystickMotionEvent(event);
     1.5  
     1.6              case InputDevice.SOURCE_MOUSE:
     1.7 -            case 12290: // DeX desktop mouse cursor is a separate non-standard input type.
     1.8 +            // DeX desktop mouse cursor is a separate non-standard input type.
     1.9 +            case InputDevice.SOURCE_MOUSE | InputDevice.SOURCE_TOUCHSCREEN:
    1.10                  if (!SDLActivity.mSeparateMouseAndTouch) {
    1.11                      break;
    1.12                  }