scrollprobe

command
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2026 License: BSD-3-Clause Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command scrollprobe live-verifies pointer scrolling on a touch device (#1510): whether a mouse wheel or a trackpad's two-finger scroll reaches bellui on Android and iPadOS, and in what form.

The top half is a pad that logs every event it is given, one machine-greppable line each (logcat tag Bellui on Android):

scrollprobe ready scale=2.62 pad=0,0+412x400pt list=0,400+412x400pt
scrollprobe scrolled src=wheel phase=unknown dx=0 dy=-40 at=200,180
scrollprobe scroll-end
scrollprobe dragged dx=0 dy=-12 at=200,168
scrollprobe drag-end
scrollprobe tap at=200,180
scrollprobe long-press at=200,180
scrollprobe pinched scale=1.040 at=200,180
scrollprobe pinch-end

The bottom half is a plain vertical scroll of 60 rows; it logs its offset as it moves (`scrollprobe list y=…`), so a scroll the driver delivers visibly scrolls real content too.

On Android, drive it with the two scripts beside it, which plug a virtual USB mouse or a virtual multitouch touchpad in through the uinput shell command (no root; Android 14's `input` has no mouse-scroll command):

adb push mouse.sh touchpad.sh /data/local/tmp/
adb logcat -c; adb shell sh /data/local/tmp/mouse.sh     # hover, wheel, click
adb logcat -c; adb shell sh /data/local/tmp/touchpad.sh  # two-finger swipes, a pinch
adb logcat -d -s Bellui:I MS:I TP:I

Expected since #1510: a hover logs nothing; each wheel notch logs one `scrolled src=wheel phase=unknown` over the pad and scrolls the list one step; each two-finger swipe logs `phase=began`, then `phase=changed` steps, then `scroll-end`; the pinch logs `pinched` steps and `pinch-end`. The mouse starts in the middle of the screen; the scripts move it in pixels for a 1080x2400 screen, the pixel143 AVD's.

It quits by itself after ten minutes.

Android: package with `bellui package --target android/arm64 --app-id com.trendvidia.scrollprobe` from this directory.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL