mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Two testers (the latest on build 50) asked for Apple's split keyboard on the iPhone Duo unfolded in landscape. Apple's keyboard splits there (iOS 27.2 simulator, the inner screen wider than tall), so Hex's now does too, in that posture only (KeyboardPosture.splitsKeyboard); everywhere else the keyboard is unchanged. The halves copy Apple's measured split (SplitGeometry): 46.3 pt keys on a 57 pt pitch at the keyboard's sides, row 2 half a key in and row 3's letters a key and a half, shift and delete 63.3 pt, 123 66.7 pt, globe and emoji 40.7 pt, return 66 pt, a space bar on each half, and an odd row's middle key on both halves (G and V in English, as Apple's). Every layout and page splits by that rule; only English was measured against Apple. The middle between the halves is no key's: touch targets tile each half and a tap there types nothing. The strip moves over the right half, where Apple's predictions are; the recording bar still spans the top. Spatial autocorrect reads taps as on the unsplit keyboard (KeyboardLayout.unsplitX), so either G is one key, and the neighbouring-letter reach never crosses the middle. No setting: Apple's split follows its own Split Keyboard preference, which a keyboard extension can't read. Verified: xcodebuild test (325 tests, 0 failures, 1 skipped) with new cases in KeyboardLayoutTests (Apple's halves and positions, targets leaving the middle to no key for every layout and page, the halves rule) and FullKeyboardEngineTests (typing on both halves, both space bars, a tap in the middle, accents and the delete-word slide on the split layout); screenshots of the extension next to Apple's split keyboard on the unfolded Duo simulator. AXe can't send touches to the Duo's inner screen, so typing there was checked through the engine's touch path, not AXe. |
||
| .. | ||
| Fixtures | ||
| AutocorrectEngineTests.swift | ||
| CleanupTaggerTests.swift | ||
| CustomVocabularyTests.swift | ||
| DictationControllerTests.swift | ||
| DictationLearningTests.swift | ||
| DotScopeTests.swift | ||
| EmojiSuggesterTests.swift | ||
| FullKeyboardEngineTests.swift | ||
| HexKeyGestureTests.swift | ||
| KeyboardBridgeTests.swift | ||
| KeyboardLayoutTests.swift | ||
| ShiftStateMachineTests.swift | ||
| TranscriptCleanupTests.swift | ||
| TypingLogTests.swift | ||