-
-
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
Input (screen presses) via command line? #579
Comments
Just a quick follow up, I've read comment #231 (comment) Which explains why it's much quicker however I am still left wondering if it's possible to use Scrcpy to input events as explained above. Furthermore, if its not possible is there as easy method for me to speed this up (I'm quite a novice which is comes to this). |
Definitely interested in this as well! I'm still looking for a way to use this together with some sort of mapping feature. Would be wonderful to map wasd to a onscreen joypad in a game (with touch coordinates) for example. |
Yeah, I remain hopeful that's it's a feature which may be added |
Hi there! I have solved the similar problem using scrcpy i.e sending command line touch inputs to your android phone. |
you can use keymapper like 'octopus' or 'panda keymaper', to specify which area to press with some sort of alphanumeric keymapping between your phone and computer and when you press that button on your computer keyboard, that area will be touched simulated on your phone. |
Hey, thanks for your response. I'll take a look tonight but I am still interested in finding a solution to my problem. Perhaps this will help. |
Thanks, but I absolutely dont trust octopus or panda keymapper. I also found this, maybe it can be useful? https://github.com/Shyri/TouchMapper |
Screen presses without scrcpy working is possible by individually opening the mapper module of guiscrcpy. srevinsaju/guiscrcpy#13 |
Hello,
It's not listed as a feature but please can you tell me if it's possible to register touches via the command line. By this I mean in specific locations, not just the home or back button for example.
I understand this to be a feature of ADB using the following command, however I was just curious if it's possible since the following code feels a little sluggish:
adb.exe -s XXXXXXXX shell input tap 350 1000
Alternatively if that's not a feature and you have an idea on how I can speed this up, I'd be super intrigued to hear.
Many thanks
The text was updated successfully, but these errors were encountered: