scrcpy/app
Romain Vimont 035d60cf5d Add option to configure mouse bindings
Add a new option --mouse-bind=xxxx.

The argument must be exactly 4 characters, one for each secondary click:

    --mouse-bind=xxxx
                 ^^^^
                 ||||
                 ||| `- 5th click
                 || `-- 4th click
                 | `--- middle click
                  `---- right click

Each character must be one of the following:
 - `+`: forward the click to the device
 - `-`: ignore the click
 - `b`: trigger shortcut BACK (or turn screen on if off)
 - `h`: trigger shortcut HOME
 - `s`: trigger shortcut APP_SWITCH
 - `n`: trigger shortcut "expand notification panel"

This deprecates --forward-all-clicks (use --mouse-bind=++++ instead).

Refs <https://github.com/Genymobile/scrcpy/pull/2258#issuecomment-2182394460>
PR #5022 <https://github.com/Genymobile/scrcpy/pull/5022>
2024-06-24 23:17:23 +02:00
..
data Add option to configure mouse bindings 2024-06-24 23:17:23 +02:00
deps Use source repo tarball for libusb 2024-03-30 14:18:47 +01:00
src Add option to configure mouse bindings 2024-06-24 23:17:23 +02:00
tests Simplify shortcut modifiers 2024-06-23 19:15:45 +02:00
meson.build Add UHID mouse support 2024-03-01 00:52:13 +01:00
scrcpy-windows.manifest Set DPI awareness for Windows 2021-12-20 19:13:02 +01:00
scrcpy-windows.rc Bump version to 2.4 2024-03-02 23:22:09 +01:00
scrcpy.1 Add option to configure mouse bindings 2024-06-24 23:17:23 +02:00