-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Add --raw-key-events #2831
Add --raw-key-events #2831
Conversation
After my test, after enabling --raw-key-events, the following problems occurred. The left bracket cannot be input, and the left bracket cannot be input in both English and non-English states, and the number 9 cannot be input. |
app/src/keyboard_inject.c
Outdated
{SDLK_6, AKEYCODE_6}, | ||
{SDLK_7, AKEYCODE_7}, | ||
{SDLK_8, AKEYCODE_8}, | ||
{SDLK_8, AKEYCODE_9}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops.
Thank you. Indeed, there is a typo for the 9 👍 |
6b269b2
to
287df6c
Compare
I pushed a new version, please re-test 😉 |
--raw-key-events works well on my device, you can merge it. |
287df6c
to
bd56d81
Compare
This option allows to inject all input keys as key events, and ignore text events.
Fixes #2816.
This feature is available in scrcpy v1.21.
obsolete
Here are binaries so that you can test easily. Please replace these files in your v1.20 release:
scrcpy.exe
sha256:c3d96408d81d4c3f17259a8d99bd2e343f6c9758dc85e6317b114f6cdc95fd00scrcpy-server
sha256:e08e9aa4796c213bf601f6323b5e9f4fce250b1f3b1d46441289824cb4af294aold binaries v1
scrcpy.exe
sha256:848fc28d0b2e864fabcd82f327ddb1ee987fc364f441deed262b8f733fe7298dscrcpy-server
sha256:e08e9aa4796c213bf601f6323b5e9f4fce250b1f3b1d46441289824cb4af294aThis is based on the development branch, and includes #2827, so this is almost a release candidate for scrcpy 1.21.
Please test and report any issue you might encounter. In particular, please test the
--tcpip
option detailed in #2827.Thank you.