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
..
2024-05-11 17:12:00 +02:00
2024-03-03 00:00:24 +01:00
2023-11-25 21:37:37 +01:00
2024-03-11 18:05:27 +01:00
2024-03-01 00:52:28 +01:00
2024-03-01 00:52:28 +01:00
2023-03-14 22:03:21 +01:00
2023-03-13 08:43:54 +01:00
2024-05-11 17:12:00 +02:00
2024-06-23 19:15:45 +02:00
2023-03-12 02:04:58 +01:00
2024-05-11 17:12:00 +02:00
2024-03-03 00:00:24 +01:00