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

SendKeys using app, only numbers received in phone #784

Open
colicrod opened this issue Sep 5, 2019 · 4 comments
Open

SendKeys using app, only numbers received in phone #784

colicrod opened this issue Sep 5, 2019 · 4 comments

Comments

@colicrod
Copy link

colicrod commented Sep 5, 2019

Hi, i'm trying to send string to the android window using application (simple c++);

The strangest thing is... when I send "123abc", in Android text box only received "123"
At first I think this is the problem with the keyboard (I used null keyboard), but after switching to several keyboards.. I believe scrcpy doesn't fully process the input generated by app?

When I typed normally.. no problem,,,, but when the typing is generated by app, only numbers received by phone omitting (a-z). Is this known issue? thanks.

@rom1v
Copy link
Collaborator

rom1v commented Sep 5, 2019

The cause is probably: #650 (comment)

@colicrod
Copy link
Author

colicrod commented Sep 6, 2019

We'll be waiting for
--text-events={all, non-alpha, none}

Any particular older version of scrcpy would you recommend where sending alphabet using app (SendInput function) is still possible?

@rom1v
Copy link
Collaborator

rom1v commented Sep 6, 2019

Any particular older version of scrcpy would you recommend where sending alphabet using app (SendInput function) is still possible?

Since #87 has been fixed in v1.4, you could try with v1.3.

@rom1v
Copy link
Collaborator

rom1v commented May 25, 2020

Does --prefer-text fix your problem?

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

No branches or pull requests

2 participants