-
-
Notifications
You must be signed in to change notification settings - Fork 11k
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
AOA keyboard and mouse throught USB and adb debugging throught TCP/IP #5343
Comments
What you want is probably uhid instead of AOA: |
Thank for your answer. |
On Android, it is true that AOA wakes up the device when moving the mouse. But scrcpy supports waking up the device with right-click or Shift+right-click in any case: https://github.com/Genymobile/scrcpy/blob/master/doc/mouse.md#mouse-bindings |
I didn't know that. I have tried it and, while I still find more "natural" and straightforward to wake up the device by just moving the mouse, it works good enough. Thank you very much!! As per my original request, I have tried running two scrcpy instances, one with aoa for the keyboard and mouse through USB and another one for ADB debugging through TCP/IP but for some reason I can't it get to work (at least, on Windows). Anyway, I think this "issue" can be closed as I can just use shift+right-click while in uihd mode as suggested. Thank you again for your time. |
Environment
Describe the bug
Sorry if this is reported somewhere else, newbie here. I am trying to use scrcpy with the following prompt:
But I get the following errors:
What I am trying to achieve is to use the AOA protocol for the keyboard and mouse through USB to control the device, while maintaining ADB debugging through TCP/IP. From my limited understanding, It should be technically possible.
I have tried passing the OTG argument and it is working fine, but I need other functions as clipboard synching that would require adb debugging.
Currently, I use both Samsung Flow for clipboard syncing and scrcpy for controlling the keyboard and mouse with OTG, which achieves the desired result.
It would be nice and more convenient though if I could just use scrcpy for clipboard synching as well, making it a single solution for both tasks.
Thank you very much for your time.
The text was updated successfully, but these errors were encountered: