Romain Vimont
Romain Vimont
`input` implements swipe if you give them the values, which depend on the context.
https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#mouse-and-keyboard-do-not-work ?
Any hint in `adb logcat`? What happens if you focus some text area on your device, and execute `adb shell input text hello` from your computer?
> adb shell input text hello worked Oh, that's very weird, then. Pressing `h` `e` `l` `l` `o` in the scrcpy windows does not work? What if you start with...
But what happens when you enter text in the scrcpy window?
Probably similar to #1347. Does this work: https://github.com/Genymobile/scrcpy/issues/1347#issuecomment-624039383
Please test with older versions of scrcpy, if you find one which work, it will help a lot to find the cause.
> adb shell input tap 179 179 Does it work or not?
Oh, could you test with this change, please: ```diff diff --git a/app/src/input_manager.c b/app/src/input_manager.c index 9c22ee0a..7d500efe 100644 --- a/app/src/input_manager.c +++ b/app/src/input_manager.c @@ -511,7 +511,8 @@ convert_mouse_button(const SDL_MouseButtonEvent *from, struct screen *screen,...
> no difference. Could you please test this change instead (or in addition), on `dev`: ```diff diff --git a/server/src/main/java/com/genymobile/scrcpy/Controller.java b/server/src/main/java/com/genymobile/scrcpy/Controller.java index 71e7ec9c..1f249225 100644 --- a/server/src/main/java/com/genymobile/scrcpy/Controller.java +++ b/server/src/main/java/com/genymobile/scrcpy/Controller.java @@ -11,7 +11,7...