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

Enter on Numpad #3590

Open
mischlrebl opened this issue Nov 22, 2022 · 4 comments
Open

Enter on Numpad #3590

mischlrebl opened this issue Nov 22, 2022 · 4 comments

Comments

@mischlrebl
Copy link

Enter on Numpad - bottom right - does not work (while Enter on typewriter keys does)

is there any option to activate it, did not found anything, or could it be added in the sources?

thanks in advance

@rom1v
Copy link
Collaborator

rom1v commented Nov 22, 2022

Numpad enter is correctly forwarded to the device. To confirm, run scrcpy -Vverbose, so that whenever you press a key, it logs it in the console.

However, it seems that some apps do not react to numpad enter. You can even simulate this keycode with:

adb shell input keyevent KEYCODE_NUMPAD_ENTER

#117 (comment)

@mischlrebl
Copy link
Author

mischlrebl commented Mar 19, 2024

just want to come back shortly to that.

it is visible in the console that the key strokes are received correctly:
image-2024-02-28-13-39-30-653

we found out, that multiline entry text fields process the numpad enter correctly.

instead of changing all fields, is it known if there is a global handler available to solve the issue?
we are working with an app built in xamarin.

thanks for any support

@mischlrebl
Copy link
Author

how to bring this ticket up again?

@rom1v
Copy link
Collaborator

rom1v commented Apr 24, 2024

A prior, the numpad enter is correctly forwarded. It is just not handled by Android (at least on your device) the way you expect.

Does it work better with UHID keyboard? (scrcpy -K)
See https://github.com/Genymobile/scrcpy/blob/master/doc/keyboard.md#physical-keyboard-simulation

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