scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

mouse wheel scroll in chrome too fast in -M mode

Open letitfly opened this issue 2 years ago • 5 comments

  • [V] I have read the FAQ.
  • [V] I have searched in existing issues.

Environment

  • OS: macOS
  • scrcpy version: 1.25
  • installation method: brew
  • device model: Not-eReader 103
  • Android version: 9

Describe the bug run scrcpy without -M option, using mouse wheel to scroll in chrome is fast but still ok. but with -M option, it scrolls too fast, 3 times faster.

In comparison, in similar app Vyser, the scroll speed is much slower compared to both cases.

I would like to know if there is a way to set the scroll speed somewhere.

letitfly avatar Feb 04 '23 02:02 letitfly

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?

rom1v avatar Feb 04 '23 17:02 rom1v

I did a few forward and backward scroll using mouse wheel, here is what I got:

2023-02-05 11:42:31.481 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 01 00 00 2023-02-05 11:42:31.489 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 04 00 00 2023-02-05 11:42:31.496 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 06 00 00 2023-02-05 11:42:31.504 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 06 00 00 2023-02-05 11:42:31.512 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 06 01 00 2023-02-05 11:42:31.520 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 04 01 00 2023-02-05 11:42:31.528 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 02 00 00 2023-02-05 11:42:31.592 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 01 00 2023-02-05 11:42:31.605 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 01 00 00 2023-02-05 11:42:31.608 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 01 00 00 2023-02-05 11:42:32.011 scrcpy[43661:919945] VERBOSE: HID Event: [2] 01 00 00 00 2023-02-05 11:42:32.137 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 00 2023-02-05 11:42:35.177 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 01 00 2023-02-05 11:42:35.208 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 01 01 00 2023-02-05 11:42:35.232 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 01 00 2023-02-05 11:42:35.248 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 01 00 2023-02-05 11:42:35.256 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 01 00 00 2023-02-05 11:42:35.264 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 01 00 2023-02-05 11:42:35.277 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 01 01 00 2023-02-05 11:42:35.298 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 01 00 2023-02-05 11:42:35.304 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 01 00 00 2023-02-05 11:42:35.456 scrcpy[43661:919945] VERBOSE: HID Event: [2] 01 00 00 00 2023-02-05 11:42:35.648 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 00 2023-02-05 11:42:36.430 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:36.436 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:36.442 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:36.448 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:36.454 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:36.454 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:36.509 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:36.515 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:36.521 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:36.528 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:36.533 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:36.533 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:37.394 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:37.399 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:37.406 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:37.412 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:37.418 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:37.418 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:38.199 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:38.205 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:38.212 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:38.218 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:38.225 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:38.225 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:38.322 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:38.327 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:38.333 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:38.339 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:38.345 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:38.345 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:39.242 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:39.248 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:39.255 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:39.261 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:39.266 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:39.266 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:39.369 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:39.376 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:39.382 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:39.389 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:39.394 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:39.394 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 ff 2023-02-05 11:42:41.176 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:41.181 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:41.188 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:41.194 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:41.200 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:41.200 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:42.358 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:42.363 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:42.370 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:42.375 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:42.382 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:42.382 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:43.315 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:43.321 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:43.327 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:43.336 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:43.339 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:43.339 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:44.200 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 ff 00 00 2023-02-05 11:42:44.210 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 01 00 2023-02-05 11:42:45.799 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:45.806 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:45.812 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:45.818 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:45.824 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01 2023-02-05 11:42:45.824 scrcpy[43661:919945] VERBOSE: HID Event: [2] 00 00 00 01

letitfly avatar Feb 05 '23 03:02 letitfly

OK, so scrcpy sends -1/+1 for scroll up/down, so the speed is determined by the device.

I just discovered that you can configure it:

Step 1: Tap the “Menu” option on the home screen of your smartphone. Then, tap the Settings option. Step 2: Tap the language and keyboard option. Then, scroll down the screen. Step 3: Tap the pointer speed option and change the sensitivity of the pointer speed.

rom1v avatar Feb 05 '23 06:02 rom1v

OK, so scrcpy sends -1/+1 for scroll up/down, so the speed is determined by the device.

I just discovered that you can configure it:

Step 1: Tap the “Menu” option on the home screen of your smartphone. Then, tap the Settings option. Step 2: Tap the language and keyboard option. Then, scroll down the screen. Step 3: Tap the pointer speed option and change the sensitivity of the pointer speed.

@rom1v thanks for your reply , But I can't find the "pointer speed option " , my os is MIUI 14, phone is xiaomi 11. Is there another way to change pointer speed?

foobra avatar Jan 29 '24 02:01 foobra

OK, so scrcpy sends -1/+1 for scroll up/down, so the speed is determined by the device. I just discovered that you can configure it:

Step 1: Tap the “Menu” option on the home screen of your smartphone. Then, tap the Settings option. Step 2: Tap the language and keyboard option. Then, scroll down the screen. Step 3: Tap the pointer speed option and change the sensitivity of the pointer speed.

@rom1v thanks for your reply , But I can't find the "pointer speed option " , my os is MIUI 14, phone is xiaomi 11. Is there another way to change pointer speed?

I just found the solution "adb shell settings put system pointer_speed 7"

foobra avatar Jan 29 '24 02:01 foobra