Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
107.71k stars 10.39k forks source link

scrcpy --otg TWO devices AT ONCE? #4179

Open achimghita opened 1 year ago

achimghita commented 1 year ago

Is it possible to control 2 (ore more devices) via OTG in the same time? Assuming I have 2 identical phones connected through a usb hub to the computer, one with broken screen, can I mirror the mouse actions on the 2 devices? Plan is to activate usb debugging. Maybe if they both had the same serial no?

rom1v commented 1 year ago

Not at the same time.

In the future, I might consider implementing a feature to record a HID/OTG session to a file, and replay it later, for this exact use case.

This is not implemented yet.

achimghita commented 1 year ago

That would be awesome! Meanwhile, do you think a hacked cable would work for this purpose? 1 usb in (mouse) and 2 usb out (one for each phone)

sukumar1210 commented 1 year ago

@rom1v Hi, as Hacktober Fest is approaching, i wanted to know that if this repo is going to be there in the fest, if so i would like to contribute to this issue.