You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
scrcpy/app/src
Romain Vimont 8984c1a7c4 Scale mouse events
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.
7 years ago
..
android Implement keyboard/mouse control 7 years ago
sys Fix includes windows-specific source 7 years ago
command.c Initial commit 7 years ago
command.h Optimize includes 7 years ago
common.h Scale mouse events 7 years ago
control.c Use pointers-to-const where relevant 7 years ago
control.h Use pointers-to-const where relevant 7 years ago
controlevent.c Scale mouse events 7 years ago
controlevent.h Scale mouse events 7 years ago
convert.c Scale mouse events 7 years ago
convert.h Scale mouse events 7 years ago
decoder.c Handle condition variable failure 7 years ago
decoder.h Optimize includes 7 years ago
events.h Initial commit 7 years ago
frames.c Always destroy in reverse order 7 years ago
frames.h Optimize includes 7 years ago
lockutil.c Do not inline lockutil functions 7 years ago
lockutil.h Do not inline lockutil functions 7 years ago
netutil.c Initial commit 7 years ago
netutil.h Initial commit 7 years ago
scrcpy.c Improve main() error handling 7 years ago
screen.c Scale mouse events 7 years ago
screen.h Optimize includes 7 years ago
server.c Move server-related functions to server.c 7 years ago
server.h Move server-related functions to server.c 7 years ago
strutil.c Initial commit 7 years ago
strutil.h Implement keyboard/mouse control 7 years ago