Skip to content
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

HID/OTG support for non android devices (iPhone,iPad etc) #4341

Closed
1 task done
filipef101 opened this issue Oct 10, 2023 · 3 comments
Closed
1 task done

HID/OTG support for non android devices (iPhone,iPad etc) #4341

filipef101 opened this issue Oct 10, 2023 · 3 comments

Comments

@filipef101
Copy link

Is your feature request related to a problem? Please describe.
If I try to control an iPhone as HID/OTG it errors
❯ scrcpy -s 00008101001A44E21AE8001E --otg

scrcpy 2.1.1 <https://github.com/Genymobile/scrcpy>
INFO: USB device found:
INFO:         R58M34QVJHT        (04e8:6860)  SAMSUNG SAMSUNG_Android
INFO:     --> 00008101001A44E21AE8001E (05ac:12a8)  Apple Inc. iPhone
ERROR: REGISTER_HID: libusb error: Pipe error
WARN: Register HID keyboard failed

Describe the solution you'd like
Support controlling any usb connected device that supports keyboard and mouse via hid/otg

Describe alternatives you've considered
Didn't find any tool that does this, maybe there is and really out of scope for this project.
Maybe does't work over lightning but does on usb c or >15 pro iPhones

Additional context
It seems iPhone is listed as a device to target as HID/OTG
I makes me think it's possible to use scrcpy to control external devices, like an iPhone, chromecast, raspberry, another mac/pc(?)

@filipef101
Copy link
Author

related? #279 (comment)

@rom1v
Copy link
Collaborator

rom1v commented Oct 10, 2023

Scrcpy uses HID over Android Open Accessory, so there's no way it can work on iPhone.

@filipef101
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants