mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The keyboard re-read active.json through a full TypingConfigReview (JSON parse, decode, every check) whenever it built a letters layout it hadn't just built, to find that layout's aim and zones, and compiled the zone map again each time. TypingConfigActive now compiles the file once per typingConfig.generation into what the keys use and keeps it for the life of the process: the words, and each key block's context, aim and zones as plain values, read and clamped by the same two helpers the review uses (TypingConfigReview.aim / .zone). A layout only picks the first block whose context matches (zones dropped when the hit model differs, as the review's needsCheckingAgain), and the compiled zone map is reused while the keys' geometry is the same. Changed behaviour: hasZones (which stops Adaptive touch recording) now counts only zones that parse, in the blocks a reader looks at; a file whose only zones are unreadable no longer pauses it. keys(on:) returns the block or nil instead of a TypingConfigReview.Applied. Verified (Studio, iPhone 17 Pro sim, iOS 27.2, Full Access on): a tap 3.35 pt inside r's area types "E" with the key-off fixture's zones and "R" with no config or a words/aim-only config, on the app built from this tree; memory and suite results are in the PR thread. |
||
| .. | ||
| FullKeyboardEngine+Emoji.swift | ||
| FullKeyboardEngine+Field.swift | ||
| FullKeyboardEngine+Hangul.swift | ||
| FullKeyboardEngine+HostText.swift | ||
| FullKeyboardEngine+Keys.swift | ||
| FullKeyboardEngine+Revert.swift | ||
| FullKeyboardEngine+Selection.swift | ||
| FullKeyboardEngine+SmartSpace.swift | ||
| FullKeyboardEngine+SwipeTyping.swift | ||
| FullKeyboardEngine+Trackpad.swift | ||
| FullKeyboardEngine+TypingConfig.swift | ||
| FullKeyboardEngine.swift | ||