Warn on ignored touch event
In theory, this was expected to only happen when a touch event is sent
just before the device is rotated, but some devices do not respect the
encoding size, causing an unexpected mismatch.
Refs <https://github.com/Genymobile/scrcpy/issues/1518>
@@ -166,7 +166,7 @@ public class Controller {
Point point = device.getPhysicalPoint(position);
if (point == null) {
- // ignore event
+ Ln.w("Ignore touch event, it was generated for a different device size");
return false;
}
