Open rom1v opened 3 weeks ago
Or maybe it would be more consistent to keep --forward-all-clicks
as a boolean option, and add a new --no-forward-all-clicks
:
# SDK mouse: forward all clicks is disabled
scrcpy
# UHID mouse: forward all clicks is enabled
scrcpy -M
# SDK mouse: force enabled
scrcpy --forward-all-clicks
# UHID mouse: force disabled
scrcpy -M --no-forward-all-clicks
What do you think?
In relative mouse modes (when the cursor appears on the device), it makes more sense to forward all clicks (disable HOME/BACK shortcuts on secondary clicks).
Transform the boolean option
--forward-all-clicks
into a 3-state option:--forward-all-clicks=true
or--forward-all-clicks
: enable--forward-all-clicks=false
: disable--forward-all-clicks=auto
(default): enable only for UHID and AOAThat way, by default, all clicks are forwarded with
scrcpy -M
.Refs https://github.com/Genymobile/scrcpy/issues/4727#issuecomment-2069869750