hex/ios/HEXShared/FullKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 759149fa54 iOS keyboard: Swipe typing reads across the iPhone Duo's split keyboard
#2105 splits the keyboard on the Duo unfolded upright: two halves, G and V
on both, and nothing in the middle. TypingDecoder.Keys already places every
key as on the unsplit keyboard (KeyboardLayout.unsplitX), so the decoder's
letter centres were right, but a swipe's points were read where they were
drawn, so the right half's strokes landed a gap away from their keys.

Swipe points are now read where KeyboardLayout.joinedForSwipe puts them:
the right half pushed against the left, as unsplitX does, and the middle
between the halves squeezed to one key's gap, so a stroke across it stays
one continuous stroke (unsplitX alone would jump it back by the gap), as
Gboard joins the halves. Either half's G and V is the one letter. On the
split, a touch becomes a swipe after the split's own key pitch, 57 pt
(KeyboardLayout.swipePitch); the trail still follows the finger where it is.

Benchmark (synthetic swipes of the held-out dev sentences on Apple's split
geometry at 801 pt, G and V taken on the side nearer the neighbouring
letter): English top-1 95.4% / top-3 99.3% with typical fingers (97.9%
clean), Spanish 90.0% / 97.9% (93.9% clean), as on the phone layout.

Verified: the full HEXMobileTests suite on an iPhone 13 simulator (iOS
27.2), 356 tests, 0 failures (1 skipped, as on dev), including the new
testASwipeReadsAcrossTheSplitKeyboardsMiddle ("hello", "the", "keyboard"
across the middle; "give" from the right half's G). AXe can't touch the
Duo's inner screen (#2105), so the split was not swiped live.
2026-11-20 17:27:07 -05:00
..
Emoji iOS: emoji panel no longer blurs on a real keyboard; taps and holds behave (#2070) 2026-11-20 16:58:50 +00:00
AccentPicker.swift iOS: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -05:00
AutocorrectEngine.swift iOS keyboard: Swipe typing, an experiment off by default (English and Spanish) 2026-11-20 17:21:09 -05:00
DeleteWordSwipe.swift iOS: keep key haptics while dictating, and slide left on delete to delete words (#2080) 2026-11-20 17:55:51 +00:00
FullKeyboardEngine.swift iOS keyboard: Swipe typing after the multilingual keyboard and #2100 2026-11-20 17:21:09 -05:00
FullKeyboardPalette.swift iOS keyboard: follow the keyboard's live traits for light and dark, not the proxy's appearance (#2050) 2026-11-20 15:53:21 +00:00
FullKeyboardSettings.swift iOS keyboard: Swipe typing, an experiment off by default (English and Spanish) 2026-11-20 17:21:09 -05:00
FullKeyboardView+Emoji.swift iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
FullKeyboardView.swift iOS keyboard: Swipe typing, an experiment off by default (English and Spanish) 2026-11-20 17:21:09 -05:00
HexKeyGesture.swift iOS: the keyboard starts listening on touch-down, with its capture page ready when it opens (#2089) 2026-11-20 20:04:35 +00:00
HexKeyViews.swift iOS: keyboard fits the iPhone Duo and splits when unfolded, and the strip keeps one height (#2105) 2026-11-20 22:19:23 +00:00
KeyboardClipboard.swift Replace the keyboard's blank Paste control with a Paste chip (#2011) 2026-11-19 21:06:32 +00:00
KeyboardKeyPlaneView.swift iOS keyboard: Swipe typing, an experiment off by default (English and Spanish) 2026-11-20 17:21:09 -05:00
KeyboardLanguage.swift iOS: several keyboard languages, switched on the space bar, with bilingual autocorrect (#2104) 2026-11-20 22:08:01 +00:00
KeyboardLayout.swift iOS: keyboard fits the iPhone Duo and splits when unfolded, and the strip keeps one height (#2105) 2026-11-20 22:19:23 +00:00
KeyboardStripView.swift iOS keyboard: Swipe typing, an experiment off by default (English and Spanish) 2026-11-20 17:21:09 -05:00
never-suggest.tsv iOS: never suggest slurs, and swear words only when asked (#2093) 2026-11-20 20:17:31 +00:00
OffensiveWords.swift iOS: never suggest slurs, and swear words only when asked (#2093) 2026-11-20 20:17:31 +00:00
ShiftStateMachine.swift iOS: full keyboard experiment flag, key layout and shift model (#910) 2026-11-01 12:43:35 -08:00
SwipeDecoder.swift iOS keyboard: Swipe typing reads across the iPhone Duo's split keyboard 2026-11-20 17:27:07 -05:00
SwipeTyping.swift iOS keyboard: Swipe typing reads across the iPhone Duo's split keyboard 2026-11-20 17:27:07 -05:00
TypingDecoder.swift iOS keyboard: a swipe-typing decoder for English and Spanish 2026-11-20 17:21:09 -05:00
TypingJournal.swift iOS: Delete what Hex learned also forgets the words autocorrect learned to keep (#2101) 2026-11-20 21:28:27 +00:00
TypingJournalLearning.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00