mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-25 21:40:11 +00:00
Disable native touch passthrough for now
This commit is contained in:
1 parent
314dfcddcf
commit
394a57a26d
1 file changed
+5
-2
@@ -2009,11 +2009,14 @@ public class Game extends Activity implements SurfaceHolder.Callback,
|
|||||||
return true;
|
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,
|
// If this host supports touch events and absolute touch is enabled,
|
||||||
// send it directly as a touch event.
|
// send it directly as a touch event.
|
||||||
return true;
|
return true;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
TouchContext context = getTouchContext(actionIndex);
|
TouchContext context = getTouchContext(actionIndex);
|
||||||
if (context == null) {
|
if (context == null) {
|
||||||
|
|||||||
Reference in new issue
Block a user