-
-
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
ScrCpy Should Support Android Shortcut Keys #1881
Comments
Home is now bound to MOD+h or middle-click pressed
Esc injects
Refs #1824 If you want to work on it, please add the mapping here (on scrcpy/app/src/event_converter.c Lines 80 to 99 in adc547f
|
[Edit: Actually on the Mac seems the MOD button is alt/option instead of command, so it is actually working as intended] Do these shortcut keys work on the Mac? Command-H seems to be able to bring you back to HOME however these shortcut keys seems to conflict with Mac internal shortcut keys (for instance command-H is hide program). Thanks! |
Both Alt/Super trigger shortcuts, unless the system capture them before transmitting the key to scrcpy. |
There are requests for custom keymaps, but I feel that these mappings should just work.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I'm frustrated that keys on my keyboard don't map to Android the same way that bluetooth keyboards do.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Certain keys on Android trigger specific actions:
Home: Navigates to the default configured Android launcher
Esc: Equivalent to the Back button
Media keys: My keyboard has a dedicated set of volume keys (up, down, and mute) that typically work on Android keyboards. Some keyboards also have dedicated key codes for play/pause, skip, and previous track that should also work in Android. It would be nice if these work as expected.
I would like these key codes to work as they normally would if passed forward to an Android device.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
The alternative is not having the feature as I don't see any other way to get this to work.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: