Add an option to forward all clicks
Add --forward-all-clicks to disable mouse shortcuts and forward middle and right clicks to the device instead. Fixes #1302 <https://github.com/Genymobile/scrcpy/issues/1302> Fixes #1613 <https://github.com/Genymobile/scrcpy/issues/1613>
This commit is contained in:
@@ -79,6 +79,7 @@ struct scrcpy_options {
|
||||
bool force_adb_forward;
|
||||
bool disable_screensaver;
|
||||
bool forward_key_repeat;
|
||||
bool forward_all_clicks;
|
||||
};
|
||||
|
||||
#define SCRCPY_OPTIONS_DEFAULT { \
|
||||
@@ -123,6 +124,7 @@ struct scrcpy_options {
|
||||
.force_adb_forward = false, \
|
||||
.disable_screensaver = false, \
|
||||
.forward_key_repeat = true, \
|
||||
.forward_all_clicks = false, \
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user