Skip to content

Commit

Permalink
Add videos for pinch-to-zoom and tilt
Browse files Browse the repository at this point in the history
A video is worth a thousand words.
  • Loading branch information
rom1v committed Mar 2, 2024
1 parent cc77190 commit 7f23ff3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/control.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,12 @@ More precisely, hold down <kbd>Ctrl</kbd> while pressing the left-click button.
Until the left-click button is released, all mouse movements scale and rotate
the content (if supported by the app) relative to the center of the screen.

https://github.com/Genymobile/scrcpy/assets/543275/26c4a920-9805-43f1-8d4c-608752d04767

To simulate a tilt gesture: <kbd>Shift</kbd>+_click-and-move-up-or-down_.

https://github.com/Genymobile/scrcpy/assets/543275/1e252341-4a90-4b29-9d11-9153b324669f

Technically, _scrcpy_ generates additional touch events from a "virtual finger"
at a location inverted through the center of the screen. When pressing
<kbd>Ctrl</kbd> the _x_ and _y_ coordinates are inverted. Using <kbd>Shift</kbd>
Expand Down

0 comments on commit 7f23ff3

Please sign in to comment.