-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refer to --shortcut-mod above the Shortcuts: list #1681
Comments
The input parameter is wrong, it should be: scrcpy --shortcut-mod =ralt, by default it is lalt. |
Yup, I eventually found out it would be |
Fixes #1681 <#1681> Suggested-by: Moritz Schulz <[email protected]>
👍
Please review, if it's ok I'll merge them.
Oh, sorry, I saw this after I already wrote the commits 😕 |
No worries, I sincerely appreciate how quickly you got back to me! So yes, LGTM! Thanks for checking back. |
scrcpy v1.17 Changes since v1.16: - Fix errors on Android 11 (Genymobile#1468) - Add --encoder option (Genymobile#1810, Genymobile#1827) - Add --forward-all-clicks option (Genymobile#1302, Genymobile#1613) - Add --legacy-paste option (Genymobile#1750, Genymobile#1771) - Workaround screen off/on issue on exit (Genymobile#1670) - Rework console/noconsole versions on Windows (Genymobile#1875, Genymobile#1988) - Terminate server properly without killing it on close (Genymobile#1992) - List available shortcut keys on error (Genymobile#1681) - Upgrade platform-tools to 30.0.5 (adb) in Windows releases - Upgrade SDL to 2.0.14 in Windows releases
The problem
I first learned about available keyboard shortcuts when running
scrcpy --help
. At the top of the list "Shortcuts:", it says "...but it can be configured by--shortcut-mod
." So in order to use the right alt key as a modifier, I tried--shortcut-mod 'RightAlt'
--shortcut-mod 'Right Alt'
--shortcut-mod 'AltGr'
and because I was frustrated (none of these worked and I had no info which would, or so I thought), I went to the GitHub repo and stumbled upon the line further up in the help section, which of course clarified it for me. I didn't look further up in the help section because I didn't look up high enough in my terminal screen.
A solution I'd like
---help
text and man page, so it says "...but it can be configured by --shortcut-mod (see above)."WARN: Unknown modifier key: altgr
andERROR: Invalid modifier keys: altgr
are barely useful.I hope that this small frustration can be resolved for users like me. I would work on a pull request myself, unless somebody else is up to it.
The text was updated successfully, but these errors were encountered: