Disable native touch passthrough for now

This commit is contained in:
Cameron Gutman 2023-09-16 15:59:07 -05:00
parent 314dfcddcf
commit 394a57a26d

View File

@ -2009,11 +2009,14 @@ public class Game extends Activity implements SurfaceHolder.Callback,
return true;
}
if (!prefConfig.touchscreenTrackpad && trySendTouchEvent(view, event)) {
// TODO: Re-enable native touch when have a better solution for handling
// cancelled touches from Android gestures and 3 finger taps to activate
// the software keyboard.
/*if (!prefConfig.touchscreenTrackpad && trySendTouchEvent(view, event)) {
// If this host supports touch events and absolute touch is enabled,
// send it directly as a touch event.
return true;
}
}*/
TouchContext context = getTouchContext(actionIndex);
if (context == null) {