touchprobe

command
v1.3.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 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 touchprobe live-verifies desktop touchscreen gesture dispatch (#266): the glfw fork's touch callback (belluikit/glfw#1, v1.10.0) feeds the shared TouchHandler, so a Windows (WM_POINTER) or Wayland (wl_touch) touchscreen reaches the mobile gesture vocabulary — tap, drag, double-tap, and hold-fire long-press (pre-rebrand tracker #758). On X11 and macOS the callback never fires and touch keeps arriving as an emulated mouse; the pad then logs mouse-path taps only, which is the expected outcome there.

The gesture pad logs every dispatch with a counter to the label and stdout (`touchprobe <gesture>`). Expected on a touchscreen:

quick tap            → tap
press-and-hold ~300ms → long-press fires WHILE STILL DOWN; the release
                        then logs secondary (the hold-fire pattern)
drag                 → drag… then drag-end; no tap on release
double tap           → double-tap

The list beside the pad verifies touch flick-scrolling (#291): a finger drag over it must scroll the content with the finger (`scroll y=…` lines), a flick must keep scrolling after the release (decaying offsets, stopped dead by touching again), and dragging the scrollbar thumb must still work. A MOUSE drag over the list must NOT scroll it — only the wheel does. On X11/macOS (emulated mouse) the list therefore does not touch-scroll, which is the expected outcome there.

The "open-multiple dialog" button forces the canvas file dialog (UseNativeFileDialogs(false)) in open-multiple mode — the #259 acceptance: long-pressing a file item on a touchscreen must enter selection mode, and plain taps must then toggle set membership.

Jump to

Keyboard shortcuts

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