mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
A TestFlight tester on build 37 felt no key haptics with the Portuguese layout added in #2069. The haptic path was traced for every layout (en, nb, es, de, it, fr, pt) and none of it depends on the language. Every key going down calls FullKeyboardView.keyFeedback through KeyboardKeyPlaneView.onKeyDown, accent and trackpad steps call selectionFeedback, and both are gated only by KeyboardViewController.allowsKeyHaptics (Full Access and Settings > Keyboard > Haptics). Layouts only change the letter rows, accent lists and the spelling dictionary. So the cause is the tester's setup or state, not the layout. Two things silence the taps with no code path to see them: - Without Full Access iOS plays no keyboard haptics. Since #2067 the keyboard types without Full Access, so a tester can type in any layout while Haptics shows On and feel nothing. - In-keyboard dictation sets this process's audio session to record (WebKit captures for it), and iOS mutes a recording session's haptics and system sounds by default. The keyboard now calls setAllowHapticsAndSystemSoundsDuringRecording(true) once in viewDidLoad. Verified on an iOS 27.2 iPhone 17 Pro simulator (Mac Studio): the full HEXMobileTests suite passes (278 tests, 0 failures, 1 skipped as before). The new testEveryLayoutAsksForTheSameKeyHaptics drives a letter, space, delete and an accent step through the real FullKeyboardView in each of the seven layouts and gets the same haptic requests in every one. A live Hex keyboard (Full Access granted) with Settings > Keyboard layout set to Portuguese showed Portuguese accents and the "olá" suggestion. A temporary log line, not committed, showed the haptic call firing with haptics allowed for each key and accent step. The Taptic output and the recording-session mute need a physical iPhone. |
||
| .. | ||
| CleanupTagger | ||
| TypingModel | ||
| ContainingAppOpener.swift | ||
| HEXKeyboard.entitlements | ||
| Info.plist | ||
| KeyboardLocalDictation.swift | ||
| KeyboardViewController.swift | ||
| PrivacyInfo.xcprivacy | ||