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.