hex/ios/HEXShared/FullKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 24918c69fa
iOS: Ukrainian keyboard layout (#2128)
* iOS: Ukrainian full-keyboard layout

A TestFlight tester asked for Ukrainian. Adds KeyboardLanguage.ukrainian
("uk", Українська). It matches the standard Ukrainian layout (ЙЦУКЕН,
ДСТУ 4862:2007) and the system keyboard's observed long-press options: the
iOS 27.2 simulator's own Ukrainian keyboard, read through accessibility and
by holding each key, shows 12, 12 and 10 keys (йцукенгшщзхї / фівапролджєʼ /
ячсмитьбюґ), ʼ being U+02BC, the apostrophe Ukrainian spells with. The
existing geometry already fits twelve columns: shift and delete come out one
letter wide.

Held keys: only ʼ offers anything there (the other apostrophes ' ’ ‘ and the
backtick); ґ, ї and є have keys of their own, and no other letter has
long-press options. The system keyboard's currency key shows ₴, so Hex holds
₴ second on $ (its numbers page stays English's in every language). No ы, э,
ъ or ё.

Autocorrect uses iOS's uk dictionary through the dictionary engine, as Russian
does: no typing model, no bilingual partner (Cyrillic), no two-letter list.
uk/uk-UA picks the layout automatically and Switch dictation too dictates
uk-UA. Neighbouring-key costs use the twelve-key rows' real offsets.
Snapshot scenes take --keyboard-layout uk. Russian and every other layout
are unchanged.

Verified: KeyboardLayoutTests, FullKeyboardEngineTests and
AutocorrectEngineTests pass on an iPhone 17 Pro simulator (iOS 27.2),
including new Ukrainian cases (rows, widths 320-956 pt, held keys, automatic
pick, switching and typing сімʼяґї’). The simulator's uk_UA checker flags no
word and offers no guess, so typo fixes are unverified there.

* iOS: cover Ukrainian dictation and its cleanup

Ukrainian dictation already worked through Apple Speech: macOS 27.2 lists
uk-UA for DictationTranscriber only (not SpeechTranscriber), and a
say -v Lesya clip came back word for word in Cyrillic without punctuation.
Parakeet is English-only, so uk-UA always goes to Apple Speech. No code
change was needed; this records it.

Tests: SpeechLanguagePickerTests picks uk-UA from DictationTranscriber,
chosen by hand and by a Ukrainian iPhone's Automatic. TranscriptCleanupTests
check Polished (capital, final stop), Casual (lowercase starts, Cyrillic і
untouched by English's "i" rule), Verbatim, and Lowercase lowering Ґ Є Ї.
README notes the macOS run under Dictation languages.

Verified: SpeechLanguagePickerTests and TranscriptCleanupTests pass on an
iPhone 17 Pro simulator (iOS 27.2).
2026-11-21 02:30:15 +00: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: next-word suggestions and fewer wrong autocorrections (#2125) 2026-11-21 01:13:08 +00: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: next-word suggestions and fewer wrong autocorrections (#2125) 2026-11-21 01:13:08 +00: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: Hex key on the left (Settings › Keyboard › Hex key) (#2120) 2026-11-21 00:38:33 +00: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: next-word suggestions and fewer wrong autocorrections (#2125) 2026-11-21 01:13:08 +00: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: Hex key on the left (Settings › Keyboard › Hex key) (#2120) 2026-11-21 00:38:33 +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: swipe typing for English and Spanish (Experiment, off by default) (#2106) 2026-11-20 22:30:53 +00:00
KeyboardLanguage.swift iOS: Ukrainian keyboard layout (#2128) 2026-11-21 02:30:15 +00:00
KeyboardLayout.swift iOS: Hex key on the left (Settings › Keyboard › Hex key) (#2120) 2026-11-21 00:38:33 +00:00
KeyboardStripView.swift iOS: Hex key on the left (Settings › Keyboard › Hex key) (#2120) 2026-11-21 00:38:33 +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: swipe typing for English and Spanish (Experiment, off by default) (#2106) 2026-11-20 22:30:53 +00:00
SwipeTyping.swift iOS: swipe typing for English and Spanish (Experiment, off by default) (#2106) 2026-11-20 22:30:53 +00:00
TypingDecoder.swift iOS: next-word suggestions and fewer wrong autocorrections (#2125) 2026-11-21 01:13:08 +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