wheelprobe

command
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 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 wheelprobe live-verifies widget.WheelPicker on a touch device (#977): a drag spins the wheel and it settles with an item centred, a flick coasts, and items away from the centre shrink and fade through core.OpacityGroup on the device's real painter.

The window holds one vertical wheel of seven white squares, five visible, on a flat black background, so a screenshot gives each item's opacity directly: a square's pixel value over black is 255 times its opacity. With FadeTo 0.3 they read 1 at the centre, 0.72 one slot out and 0.44 two out.

It prints machine-greppable lines to stdout (logcat tag Bellui on Android):

wheelprobe ready scale=2.62 wheel=155,40+100x400pt selected=3
wheelprobe changed selected=5 t=4321

Drive it with adb (pixels: the ready line's points times scale). With a pitch of 80pt:

adb shell input swipe 540 1500 540 1080 1500  # 2 pitches up, slow: +2
adb shell input swipe 540 1300 540 1100 60    # a flick up: coasts further

It quits by itself after ten minutes.

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

Jump to

Keyboard shortcuts

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