keyprobe

command
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: BSD-3-Clause Imports: 8 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 keyprobe live-verifies hardware-key delivery on Android (#793): a key acts when it is pressed, a held key repeats, and nothing is doubled or dropped in an Entry or in a focusable non-editor.

Every key the target receives is logged to logcat (tag Bellui) as

keyprobe target=<entry|sink> <what>

so a run is read from the log, not the screen. Tap the Entry or the key sink to focus it, then press keys on a hardware keyboard, or let keyboard.sh (in this directory) plug in a virtual USB keyboard and press them, logging each DOWN and UP with tag KP. `adb emu event send` does not work for this: the emulator has no alphabetic keyboard device.

Expected: the sink logs "typed-key"/"typed-rune" right after a key's DOWN, never at its UP. A held consonant repeats after about 400 ms. A held vowel does not repeat while Gboard shows its accent picker, as in every app. A held Escape acts once. The Entry's "text=" grows by one character per press, with no doubles.

Jump to

Keyboard shortcuts

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