Romain Vimont

Results 2060 comments of Romain Vimont

Thank you for your report. Refs https://github.com/Genymobile/scrcpy/issues/3568#issuecomment-1304871139 cc @paweljasinski

I just wrote a quick&dirty test to inject `ACTION_BUTTON_PRESS` and `ACTION_BUTTON_RELEASE`: ```diff diff --git a/server/src/main/java/com/genymobile/scrcpy/Controller.java b/server/src/main/java/com/genymobile/scrcpy/Controller.java index a8219edd..7a5bbe9a 100644 --- a/server/src/main/java/com/genymobile/scrcpy/Controller.java +++ b/server/src/main/java/com/genymobile/scrcpy/Controller.java @@ -198,9 +198,11 @@ public class Controller...

Thank you :+1: > letting the client generate all ACTION_DOWN, ACTION_UP, ACTION_BUTTON_PRESS and ACTION_BUTTON_RELEASE events directly, because usually the GUI library on the client already has the same concept of...

Thank you :+1: I prefer the server-side, because the events are synthesized (they don't come from the client itself). I will read in more details later.

Please post the output of `scrcpy -Vverbose -M` when you scroll. In addition, if you know how to do, could you check the value of `event->vscroll` [here](https://github.com/Genymobile/scrcpy/blob/v1.25/app/src/usb/hid_mouse.c#L226)?

OK, so scrcpy sends -1/+1 for scroll up/down, so the speed is determined by the device. I just [discovered](https://www.minitool.com/news/pointer-speed.html) that you can configure it: > Step 1: Tap the “Menu”...

Use the latest version (1.12.1 is very old). Android 12 requires at least scrcpy 1.18.

Please report/ask to Homebrew.