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
How does Virtual Display implement input event control? #4873
Comments
BarleyXu
changed the title
VirtualDisplay是如何实现事件回传的?
How does Virtual Display implement input event control?
Apr 22, 2024
Hi I would like to ask, what is the app you use to create a virtual display? Thanks |
Hi, I use the createVirtualDisplay method of MediaProjection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi, great product! !
One question, I created Virtual Display on my android device. Then display a specified third-party application on the Virtual Display, which will not affect the display content of the home screen. Then I specify the display id through scrcpy --display. I can see the third-party application interface on the computer and can also do input event control. How is this achieved?
I am also sharing the content of virtual display to the browser through similar webrtc, but when I receive the browser event in Android and trigger the event through injectInputEvent,"I InputDispatcher: Dropping event because there is no touched foreground window appears. in display 34 or gesture monitor to receive it" arised in the Log. How to modify the event handling of virtual display?
The text was updated successfully, but these errors were encountered: