scrcpy/app
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 035d60cf5d
Refs f5e6b8092a
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
..
data Forward mouse hover events 2024-06-29 12:42:19 +02:00
deps Upgrade platform-tools (35.0.0) for Windows 2024-06-29 13:10:45 +02:00
src Add mouse secondary bindings 2024-07-11 12:04:09 +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.5 2024-06-29 16:52:45 +02:00
scrcpy.1 Add mouse secondary bindings 2024-07-11 12:04:09 +02:00