hex/ios/HEXShared
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 4a2abedcab iOS keyboard: hold lists re-derived from the system keyboard by observation
What: every language's long-press lists (KeyboardLanguage.letterHolds, new
symbolHolds, and AccentCatalog's 123/#+= list) now match the system
keyboard's observed long-press options in the iOS 27.2 simulator: each
letter, 123 and #+= key held for ~3 s with a real-time HID touch and the
callout read from the accessibility tree, for English, Norwegian, Spanish,
German, Italian, French (France, Canada, Switzerland), Portuguese, Russian,
Ukrainian and Serbian (Latin).

Why: the Russian, Serbian and French lists said they were copied from
Apple's TextInput_ru/_sr/_fr bundles, and the other lists were from memory.
Hex may learn from Apple's keyboard only by black-box observation.

Replaced behavior:
- accentOverrides (overrides on a shared letter table) is replaced by
  letterHolds, a complete list per language: a letter the system keyboard
  holds nothing on now holds nothing (Spanish z, German z, Serbian e), where
  it used to fall back to the shared table.
- Lists gain the observed extra letters (English ŵ ř ț ğ ħ ķ ...,
  Norwegian's Sámi letters, Russian's combining-macron forms, which were
  left out before) and follow the system's order; Spanish n drops ñ (own key).
- 123/#+= holds: $ adds ₩ ₽, & holds §, = holds ≠ ≈, % holds ‰, 0 holds °;
  per language: № on # (Russian, Ukrainian), º ª on digits (Spanish,
  Italian, Portuguese), · on . and French quote order (French), „ quotes
  (German), kr on $ (Norwegian), ₴ on $ (Ukrainian).
- Capital ı shows İ (observed), not a second I.

Order: base first, then the others as the system callout shows them read
from the base's side, so Hex's callout (which reverses right-hand keys)
shows them in the system's left-to-right order. Deliberate differences:
Hex keeps the base at the thumb end and one row where the system wraps
long lists or puts the base mid-list.

Defaults where a hold was missed under simulator load: & = & § for German,
Norwegian, Swiss French and Portuguese (as all 8 other layouts observed);
Italian ~ < • treated as holding nothing (as everywhere else).

Docs: README and comments no longer say the data came from Apple files;
the unverified "iPad's Croatian layouts" clause is gone.

Verified: xcodebuild test on an iOS 27.2 iPhone 17 Pro simulator at
7770fb90 + this change: 425 tests, 0 failures, 1 skipped. Tests updated in
KeyboardLayoutTests (lists and on-screen order) and FullKeyboardEngineTests
(the haptics test holds Serbian c, since its e holds nothing).
2026-11-20 23:08:55 -05:00
..
FullKeyboard iOS keyboard: hold lists re-derived from the system keyboard by observation 2026-11-20 23:08:55 -05:00
TypingLog 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
AppleIntelligenceCleanupSettings.swift ios: optional Apple Intelligence transcript cleanup (experiment) (#1538) 2026-11-08 08:07:11 -05:00
AppleSpeechModule.swift iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) (#2119) 2026-11-21 00:29:24 +00:00
CleanupGuard.swift iOS: Clean up what I say keeps names, and is on by default (#2132) 2026-11-21 03:12:53 +00:00
CleanupReconstruction.swift iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
CleanupTagger.swift iOS: Clean up what I say keeps names, and is on by default (#2132) 2026-11-21 03:12:53 +00:00
CleanupTokenizer.swift iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
CustomVocabularySettings.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationCorrections.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationEditInference.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationEditTracker.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationLanguage.swift iOS: several keyboard languages, switched on the space bar, with bilingual autocorrect (#2104) 2026-11-20 22:08:01 +00:00
DictationLanguageSwitch.swift iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) (#2119) 2026-11-21 00:29:24 +00:00
DictationPipeline.swift iOS: Clean up what I say keeps names, and is on by default (#2132) 2026-11-21 03:12:53 +00:00
DictationTranslation.swift iOS: fewer paste prompts, and a translate switch in the keyboard (#2134) 2026-11-21 03:24:58 +00:00
DotScope.swift iOS: dictate from the keyboard without opening Hex, plus suggestions, autocorrect, and Paste (#1999) 2026-11-19 12:20:12 -05:00
DotScopeShader.metal fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
EmptyCapture.swift iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) (#2035) 2026-11-20 13:21:16 +00:00
HexTheme.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
HinglishLexicon.swift iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) (#2119) 2026-11-21 00:29:24 +00:00
HinglishRomanizer.swift iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) (#2119) 2026-11-21 00:29:24 +00:00
HomeSwipeCue.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
KeyboardBridge.swift iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
KeyboardSurface.swift iOS: fewer paste prompts, and a translate switch in the keyboard (#2134) 2026-11-21 03:24:58 +00:00
SpeechModelInstall.swift iOS: keep dictating English when its speech model was released, and say Open Hex instead of "no language" (#2090) 2026-11-20 20:06:14 +00:00
SpokenCleanupRules.swift iOS: dictation styles apply in the keyboard and read differently, plus Lowercase (#2103) 2026-11-20 21:47:04 +00:00
SpokenLists.swift iOS: format dictated lists, and write out gonna and wanna (#2131) 2026-11-21 03:01:16 +00:00
TranscriptFormatter.swift iOS: format dictated lists, and write out gonna and wanna (#2131) 2026-11-21 03:01:16 +00:00
UserFacingError.swift iOS: fewer paste prompts, and a translate switch in the keyboard (#2134) 2026-11-21 03:24:58 +00:00
VocabularySpelling.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00