Open scarlac opened 3 years ago
Alt+m or Alt+s?
Ah, I see MOD+m
will "shake" the device. I did not think to try that. Should this be documented?
Also, I have MOD+m mapped to minimize window globally so I can't really use this hotkey but at least it exists.
Feel free to close it if you feel it shouldn't need more documentation
Hi, Mod + m is not working for me when connected to my Amazon fire hd 🤷🏻♂️
Anyone else having that issue with a tablet or smartphone?
All other shortcuts work as expected with this fabulous piece oft software 🙏🏼
Greetings
Does adb shell input keyevent MENU
work?
thx for your fast reply. yes, this command unlocks the locked screen of my amazon fire hd 10. but it won't shake when entered again. same with "adb shell input keyevent 82"
maybe the "shake-amount" is different on tablets? or is shake = shake as a kind of shortcut on every device?
Hey Folks, Any ideas how to solve the not shaking problem?
Anyone else able to check that on a fire HD tablet? Maybe it is the modified Amazon android version 🤷🏻♂️
Greetings
Has the feature been introduced into scrcpy? How can I shake the device via a shortcut?
MOD+m https://github.com/Genymobile/scrcpy/blob/master/doc/shortcuts.md
It doesn't work for me. I'm using AliExpress app which features "shake the device for taking part in a lottery". I do press LeftALT+M but nothing happens.
"shake the device for taking part in a lottery"
It's probably based on the accelerometer (to physically "shake" the device), not a specific key pressed.
"shake the device for taking part in a lottery"
It's probably based on the accelerometer (to physically "shake" the device), not a specific key pressed.
Oh, I see. LeftALT+M works for me when I'm unlocking the phone but it doesn't do anything when the phone is unlocked.
Is your feature request related to a problem? Please describe. I searched the repo for 'shake' and found an old PR: https://github.com/Genymobile/scrcpy/pull/85 that was renamed to app_switch which is actually what it did. I don't see how it ever shook the device but maybe I don't have the context.
Describe the solution you'd like I'd like a hotkey that enables me to trigger a shake gesture since it can be hard to do physically with Android devices. This is helpful when doing React Native development where the shake gesture triggers the development menu.
Describe alternatives you've considered
adb shell input keyevent 82
)