mirror of
https://github.com/Genymobile/scrcpy
synced 2025-03-04 12:17:37 +00:00
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 #1518 <https://github.com/Genymobile/scrcpy/issues/1518>
This commit is contained in:
parent
deea29f52a
commit
a973757fd1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user