mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-23 15:42:14 +00:00
8984c1a7c4
The video screen size on the client may differ from the real device screen size (e.g. the video stream may be scaled down). As a consequence, mouse events must be scaled to match the real device coordinates. For this purpose, make the client send the video screen size along with the absolute pointer location, and the server scale the location to match the real device size before injecting mouse events. |
||
---|---|---|
.. | ||
src | ||
tests/com/genymobile/scrcpy | ||
.gitignore | ||
Makefile |