Romain Vimont 9989668226 Add mouse secondary bindings
Add secondary bindings (Shift+click) for mouse buttons.

In addition to:

    --mouse-bind=xxxx

It is now possible to pass a sequence of secondary bindings:

    --mouse-bind=xxxx:xxxx
                 <--> <-->
             primary   secondary
            bindings   bindings

If the second sequence is omitted, then it is the same as the first one.

By default, for SDK mouse, primary bindings trigger shortcuts and
secondary bindings forward all clicks.

For AOA and UHID, the default bindings are reversed: all clicks are
forwarded by default, whereas pressing Shift+click trigger shortcuts.

    --mouse-bind=bhsn:++++  # default for SDK
    --mouse-bind=++++:bhsn  # default for AOA and UHID

Refs 035d60cf5d3f4c83d48735b4cb4cd108a5b5f413
Refs f5e6b8092afd82bab402e7c2c3d00b1719f9bb57
Fixes #5055 <https://github.com/Genymobile/scrcpy/issues/5055>
PR #5076 <https://github.com/Genymobile/scrcpy/pull/5076>
2024-07-11 12:04:09 +02:00
..
2024-06-29 16:52:32 +02:00
2024-06-29 17:51:36 +02: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-13 08:43:54 +01:00
2024-07-11 12:04:09 +02: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-06-29 17:51:36 +02:00