hex/ios/HEXShared/TypingLog
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 8110d9b500 iOS keyboard: a strip tap while typing types the row-1 key below it
Record typing logs showed "the" coming out "th" with a double space: the
e, aimed a few points high, landed on the suggestion strip's left slot
17 to 170 ms after the previous key, which picked what was typed ("th")
and a space, and the next space doubled it. The pick also suppressed
"th" -> "the" for the rest of the session (and two such picks learn
"th" as a word). 6 of the 14 strip picks in the log were this; the
deliberate ones came 0.9 s or more after a key.

While you type (a key is down, or one went down or came up within
0.25 s) the strip's lower half now belongs to the keys: the key plane,
which lies over the strip, claims those touches in point(inside:), and
the engine presses the row-1 key straight below (the point moved onto
row 1's top edge, also for Spatial autocorrect's tap). The upper half,
and any tap after a pause, still picks. Typing logs mark such a press
with under: null on began.

Verified: FullKeyboardEngineTests and AutocorrectEngineTests pass on an
iOS 27.2 simulator (66 tests), including the view's hit test. Live in
Messages with a diagnostic build whose window was widened to 2 s (AXe
taps are ~0.9 s apart; not committed): "on th" then a tap on the strip's
lower half above e typed "On the "; the same tap after 2.6 s still
picked "th".
2026-11-20 16:23:39 -05:00
..
DictationStages.swift ios: record raw typing logs from Hex's keyboard (experiment) (#2024) 2026-11-20 02:13:16 +00:00
TypingLogEvent.swift ios: record raw typing logs from Hex's keyboard (experiment) (#2024) 2026-11-20 02:13:16 +00:00
TypingLogger.swift iOS keyboard: a strip tap while typing types the row-1 key below it 2026-11-20 16:23:39 -05:00
TypingLogSession.swift ios: record raw typing logs from Hex's keyboard (experiment) (#2024) 2026-11-20 02:13:16 +00:00
TypingLogStore.swift ios: record raw typing logs from Hex's keyboard (experiment) (#2024) 2026-11-20 02:13:16 +00:00