mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-03 08:15:33 +00:00
Disable native touch passthrough for now
This commit is contained in:
parent
314dfcddcf
commit
394a57a26d
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user