hex/ios/HEXShared/FullKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 50e3464b25
iOS: a quick space tap that drifts still types a space, and space keeps its place in a rollover (#2233)
* iOS: a quick space tap that drifts still types a space, as on Apple's

TestFlight build 56 (iPhone Duo, iOS 27.3): "seems like I'm missing the
space key or it's not registering a tap". With one keyboard language a
space-bar touch that slid 10 pt (trackpadActivationDistance) started the
cursor trackpad at once, so letting go typed no space. Real HID taps on
the iPhone 17 Pro simulator (iOS 27.2) in Messages, "hi" + space + "o":

- build 56 (2ef08aa4) and origin/dev (6f0b20c1): taps of 60, 100 and
  150 ms drifting 12, 16, 24 or -16 pt typed no space (15 of 15 lost;
  8 pt drifts typed one). On dev the -16 pt ones also moved the cursor.
- Apple's keyboard, same field and gestures: every one typed a space,
  and so did slides of 40 pt in 150 ms. Its trackpad starts only from a
  still hold.

Removed: the slide that started the trackpad with one language. Only the
hold (trackpadHoldDelay, unchanged) starts it now; with two or more
languages a slide is still a language swipe. The dictation bar's space
bar (KeyboardSurface) keeps its own 10 pt slide; not changed here.

Verified: the same HID probes on this build type a space in all 15
drift cases and the 40 to 80 pt slides; holding still 0.6 s still starts
the trackpad (no space) and a hold then a 20 pt slide moves the cursor.
xcodebuild test (HEXMobile, iPhone 17 Pro, iOS 27.2): 657 tests, the one
that asserted the old quick-slide trackpad updated and rerun green.
Updated FullKeyboardEngineTests cases, ios/README.md and typing-logs.md.

* iOS: space keeps its place in a rollover

Found while triaging the build 56 space-key report: a key pressed while
the space bar was still held, and let go first, typed before the space.
Rollover committed only held characters and accent pickers, so space
waited for its own lift and "a", space, "b" typed fast came out "ab ",
which reads as a lost space between words. A held space is now typed when
the next key goes down, as a held letter is, and its own lift then types
nothing; a space already typed this way can't become the trackpad or a
language swipe.

Not verified against Apple's keyboard: simulator HID touches are one
finger, so overlapping touches can't be played to it. The order follows
Hex's own letter rollover rule.

Verified: FullKeyboardEngineTests.testRolloverWithTheSpaceBarKeepsOrder
failed on origin/dev ("ab ") and passes here; xcodebuild test (HEXMobile,
iPhone 17 Pro, iOS 27.2), 657 tests, all pass with this and the previous
commit together.
2026-11-21 14:36:17 -05:00
..
Emoji iOS: experiment to put the emoji panel's ABC under the emoji key (#2221) 2026-11-21 13:41:53 -05:00
AccentPicker.swift iOS: Czech keyboard, and custom words for typing (#2205) 2026-11-21 10:37:55 -05:00
AdaptiveTouch.swift iOS: the full keyboard matches the system keyboard one to one (#2178) 2026-11-21 07:20:46 -05:00
AdaptiveTouchLabels.swift iOS: Adaptive touch, personal key centres learned on device (Experiment, off by default) (#2146) 2026-11-21 06:13:04 +00:00
AutocorrectEngine+Accents.swift iOS: the next word gives the word before its language's accents (#2231) 2026-11-21 14:35:35 -05:00
AutocorrectEngine+Dictionaries.swift iOS: text replacements fire like the system's and stay put, and no stray capitals from suggestions (#2173) 2026-11-21 06:10:45 -05:00
AutocorrectEngine+Distance.swift iOS: words mid-sentence stay lowercase unless you capitalized them (#2218) 2026-11-21 14:35:10 -05:00
AutocorrectEngine+Vocabulary.swift iOS: words mid-sentence stay lowercase unless you capitalized them (#2218) 2026-11-21 14:35:10 -05:00
AutocorrectEngine.swift iOS: the next word gives the word before its language's accents (#2231) 2026-11-21 14:35:35 -05:00
CzechTyping.swift iOS: Czech keyboard, and custom words for typing (#2205) 2026-11-21 10:37:55 -05:00
DeleteWordSwipe.swift iOS: delete keeps an autocorrection and the strip offers the revert, smart quotes, a two-way trackpad, and key clicks (#2192) 2026-11-21 09:22:10 -05:00
FullKeyboardEngine+Keys.swift ios: learn each language separately (experiment) (#2188) 2026-11-21 09:00:58 -05:00
FullKeyboardEngine+Revert.swift iOS: avoid double spaces when editing a word mid-sentence (#2214) 2026-11-21 12:43:26 -05:00
FullKeyboardEngine+SmartSpace.swift iOS: avoid double spaces when editing a word mid-sentence (#2214) 2026-11-21 12:43:26 -05:00
FullKeyboardEngine+SwipeTyping.swift iOS: delete keeps an autocorrection and the strip offers the revert, smart quotes, a two-way trackpad, and key clicks (#2192) 2026-11-21 09:22:10 -05:00
FullKeyboardEngine+Trackpad.swift iOS: a quick space tap that drifts still types a space, and space keeps its place in a rollover (#2233) 2026-11-21 14:36:17 -05:00
FullKeyboardEngine.swift iOS: a quick space tap that drifts still types a space, and space keeps its place in a rollover (#2233) 2026-11-21 14:36:17 -05:00
FullKeyboardPalette.swift iOS: Return follows the app's return key type, and the dictation bar's does too (#2200) 2026-11-21 09:54:57 -05:00
FullKeyboardSettings.swift iOS: experiment to put the emoji panel's ABC under the emoji key (#2221) 2026-11-21 13:41:53 -05:00
FullKeyboardTouch.swift iOS: a quick space tap that drifts still types a space, and space keeps its place in a rollover (#2233) 2026-11-21 14:36:17 -05:00
FullKeyboardView+Emoji.swift iOS: experiment to put the emoji panel's ABC under the emoji key (#2221) 2026-11-21 13:41:53 -05:00
FullKeyboardView+Vocabulary.swift iOS: Czech keyboard, and custom words for typing (#2205) 2026-11-21 10:37:55 -05:00
FullKeyboardView.swift iOS: experiment to put the emoji panel's ABC under the emoji key (#2221) 2026-11-21 13:41:53 -05:00
GermanCapitals.swift iOS: German autocorrect capitalises common nouns (haus, auto, zeit) (#2169) 2026-11-21 05:30:03 -05:00
GreekTyping.swift iOS: delete keeps an autocorrection and the strip offers the revert, smart quotes, a two-way trackpad, and key clicks (#2192) 2026-11-21 09:22:10 -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: a balanced top bar, with a small chip for an autocorrection (#2207) 2026-11-21 10:41:42 -05:00
KeyboardBackdropView.swift iOS: opaque keyboard panel so stale system layers can't show through, and a nil-safe field ID (#2139) 2026-11-21 03:45:47 +00:00
KeyboardClipboard.swift iOS: Code from Messages shows only when Apple's keyboard is on (#2187) 2026-11-21 08:39:11 -05:00
KeyboardKeyPlaneView.swift iOS: the space-bar trackpad moves like Apple's (#2219) 2026-11-21 13:23:46 -05:00
KeyboardLanguage.swift iOS: Czech keyboard, and custom words for typing (#2205) 2026-11-21 10:37:55 -05:00
KeyboardLaunchWork.swift iOS keyboard: nothing heavy before the keys' first frame (#2185) 2026-11-21 08:28:59 -05:00
KeyboardLayout.swift iOS: a balanced top bar, with a small chip for an autocorrection (#2207) 2026-11-21 10:41:42 -05:00
KeyboardStripView.swift iOS: hold the bar to dictate, Learn how I type on, a plain centred Paste, and typing logs off (#2210) 2026-11-21 12:11:58 -05:00
LanguageLearning.swift ios: learn each language separately (experiment) (#2188) 2026-11-21 09:00:58 -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
ReturnKeyStyle.swift iOS: Return follows the app's return key type, and the dictation bar's does too (#2200) 2026-11-21 09:54:57 -05:00
ShiftStateMachine.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
SmartPunctuation.swift iOS: avoid double spaces when editing a word mid-sentence (#2214) 2026-11-21 12:43:26 -05:00
SwipeDecoder.swift iOS: swipe reads the letters under the path, and the emoji bar scrubs (#2189) 2026-11-21 08:47:45 -05:00
SwipeTyping.swift iOS: swipe reads the letters under the path, and the emoji bar scrubs (#2189) 2026-11-21 08:47:45 -05:00
TextChecking.swift iOS: German autocorrect capitalises common nouns (haus, auto, zeit) (#2169) 2026-11-21 05:30:03 -05:00
TrackpadCursor.swift iOS: the space-bar trackpad moves like Apple's (#2219) 2026-11-21 13:23:46 -05:00
TypingDecoder.swift iOS: Adaptive touch, personal key centres learned on device (Experiment, off by default) (#2146) 2026-11-21 06:13:04 +00:00
TypingJournal.swift iOS: hold the bar to dictate, Learn how I type on, a plain centred Paste, and typing logs off (#2210) 2026-11-21 12:11:58 -05:00
TypingJournalLearning.swift ios: learn each language separately (experiment) (#2188) 2026-11-21 09:00:58 -05:00