Accept Cmd as shortcut modifier

In addition to (left) Alt, also accept (left) Cmd. This is especially
convenient for macOS users.
This commit is contained in:
Romain Vimont
2020-07-17 00:00:42 +02:00
parent a90b08ceb3
commit 060d91e4ce
4 changed files with 8 additions and 7 deletions

View File

@@ -95,8 +95,8 @@ struct scrcpy_options {
.last = DEFAULT_LOCAL_PORT_RANGE_LAST, \
}, \
.shortcut_mods = { \
.data = {SC_MOD_LALT}, \
.count = 1, \
.data = {SC_MOD_LALT, SC_MOD_LCMD}, \
.count = 2, \
}, \
.max_size = DEFAULT_MAX_SIZE, \
.bit_rate = DEFAULT_BIT_RATE, \