hex/ios/HEXShared/FullKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel dc9d9b5355 iOS: English and Spanish together type on the first one's keys
TestFlight build 56: with English and Spanish chosen, "the keyboard is always
stuck in Spanish, with the extra ñ key stuck on the right of the L key".

Black box on Apple's keyboard (iOS 27.2 simulator): adding Spanish offers "Add
to English (US) Keyboard", checked by default, which makes one bilingual
"English & Spanish" keyboard. With English first it is QWERTY with no ñ key, ñ
on a held n (N Ñ Ń Ņ Ň) and English's long presses; English added to the
Spanish keyboard keeps the ñ key and Spanish's long presses (ñ, ª, º, l·l).
Hex instead showed Spanish's own layout whenever the space bar was on
Español, so a bilingual English typist saw the ñ key and Spanish holds.

- KeyboardLanguageList.layout: with English and Spanish both chosen, both type
  on the letters and long presses of whichever comes first; any other
  language (and Spanish alone, or beside French) keeps its own.
- FullKeyboardEngine.layoutLanguage carries it to the keys and the accent
  menu; language (autocorrect, the Spatial and swipe models, the space-bar
  label, dictation) still switches on the space bar. The typing models already
  read ñ typed from n where a layout has no ñ key.

Unchanged: the language last switched to is global, as Apple's is (a switch in
Messages held in Safari and back), and comes back after the keyboard process
restarts. A field gives Hex nothing to pick from: documentInputMode is nil in
Messages and Hex's own en-US in a test field that asks for English.

Verified: KeyboardLayoutTests.testEnglishAndSpanishTypeOnTheFirstOnesKeys,
FullKeyboardEngineTests.testEnglishAndSpanishShareTheFirstLanguagesKeys; live
on an iPhone 17 iOS 27.2 simulator (Release, Full Access): English + Español
shows QWERTY in both with ñ on a held n, Español + English the ñ key in both,
in Messages, Safari and an English-only field, before and after a keyboard
restart, with the iPhone's languages English or English + Spanish.
2026-11-21 03:37:07 -05:00
..
Emoji iOS: text replacements without autocorrect, End with a period, and emoji and symbols on the Dictation bar (#2147) 2026-11-21 06:24:16 +00:00
AccentPicker.swift iOS: emoji panel memory, category taps, an eight-column Frequently used, and the system's look (#2142) 2026-11-21 04:31:34 +00:00
AdaptiveTouch.swift iOS: Adaptive touch, personal key centres learned on device (Experiment, off by default) (#2146) 2026-11-21 06:13:04 +00: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.swift iOS: German spatial autocorrect behind an experiment (#2161) 2026-11-21 03:10:49 -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+SwipeTyping.swift iOS: split FullKeyboardEngine.swift to stay under the file cap (#2162) 2026-11-21 03:24:14 -05:00
FullKeyboardEngine.swift iOS: English and Spanish together type on the first one's keys 2026-11-21 03:37:07 -05:00
FullKeyboardPalette.swift iOS: the full keyboard's top bar matches the system keyboard (#2135) 2026-11-21 03:26:34 +00:00
FullKeyboardSettings.swift iOS: German spatial autocorrect behind an experiment (#2161) 2026-11-21 03:10:49 -05:00
FullKeyboardView+Emoji.swift iOS: text replacements without autocorrect, End with a period, and emoji and symbols on the Dictation bar (#2147) 2026-11-21 06:24:16 +00:00
FullKeyboardView.swift iOS: English and Spanish together type on the first one's keys 2026-11-21 03:37:07 -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: emoji panel memory, category taps, an eight-column Frequently used, and the system's look (#2142) 2026-11-21 04:31:34 +00: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: a handoff to Hex can't leave the keyboard stuck, and dismissed dictations still deliver (#2163) 2026-11-21 08:31:48 +00:00
KeyboardKeyPlaneView.swift iOS: Emoji and Swipe typing are on by default, under Settings › Keyboard (#2129) 2026-11-21 02:41:15 +00:00
KeyboardLanguage.swift iOS: English and Spanish together type on the first one's keys 2026-11-21 03:37:07 -05:00
KeyboardLayout.swift iOS: the full keyboard's top bar matches the system keyboard (#2135) 2026-11-21 03:26:34 +00:00
KeyboardStripView.swift iOS: a handoff to Hex can't leave the keyboard stuck, and dismissed dictations still deliver (#2163) 2026-11-21 08:31:48 +00: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: autocorrect splits merged words, fixes missing apostrophes and homophones, and corrects before punctuation (#2144) 2026-11-21 05:24:20 +00:00
SwipeTyping.swift iOS: autocorrect splits merged words, fixes missing apostrophes and homophones, and corrects before punctuation (#2144) 2026-11-21 05:24:20 +00: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: 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