mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-26 09:02:16 +00:00
List available shortcut keys on error
Fixes #1681 <https://github.com/Genymobile/scrcpy/issues/1681> Suggested-by: Moritz Schulz <moritzleni@gmail.com>
This commit is contained in:
parent
6cc22e1c5b
commit
d02789ce21
@ -532,7 +532,9 @@ parse_shortcut_mods_item(const char *item, size_t len) {
|
||||
} else if (STREQ("rsuper", item, key_len)) {
|
||||
mod |= SC_MOD_RSUPER;
|
||||
} else {
|
||||
LOGW("Unknown modifier key: %.*s", (int) key_len, item);
|
||||
LOGE("Unknown modifier key: %.*s "
|
||||
"(must be one of: lctrl, rctrl, lalt, ralt, lsuper, rsuper)",
|
||||
(int) key_len, item);
|
||||
return 0;
|
||||
}
|
||||
#undef STREQ
|
||||
|
Loading…
Reference in New Issue
Block a user