Repository navigation
Release 0.0.5-beta.1: crisp adjustable haptics, key sound fix, 中/英 on the right - #125
Merged
Merged
Conversation
… the right - Key haptics drive the vibrator directly (PRIMITIVE_CLICK on API 30+, EFFECT_CLICK on API 29, a 20 ms one-shot before) instead of the system's fixed keyboard amplitude, tagged as touch feedback. A 震动强度 slider (10-100%, default 100%) scales it, previews while dragged, and is part of the user-data archive. - Key clicks use playSoundEffect(effect, volume) so the in-app switch works when the system "touch sounds" setting is off (as AOSP LatinIME does). - 26-key bottom row is now 123 | ,。 | 空格 | 中/英 | 确定 in both languages. - Remove the undo-after-clear: no swipe-down restore, no "已清空 · 撤销" banner and no gateway snapshot. The toolbar undo button stays. - Split 关于与数据 into AboutActivity (privacy, diagnostics, version) and DataManagementActivity (export/import, voice word lists, uninstall note); the settings section 关于与数据 lists both. - Tools panel drops 语音输入 and 切换键盘 and gains 数据管理. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PRIMITIVE_CLICKon API 30+,EFFECT_CLICKon API 29, a 20 ms one-shot before that, tagged as touch feedback. Since Android 14 QPR3KEYBOARD_TAPplays at a fixed, often low keyboard amplitude; commercial IMEs drive the vibrator themselves.playSoundEffect(effect, volume)plays even when the system "touch sounds" setting is off, as AOSP LatinIME does.123 | ,。 | 空格 | 中/英 | 确定in Chinese and English.Test plan
testDebugUnitTest374/374,lintDebugwith no errorsPrimitive=CLICK(scale=1.00)with usage TOUCH, and scaled clicks while dragging the slider; key sound plays with system touch sounds off; bottom row, clear without undo banner, tools panel and both new pages checked on screenSpaceCursorAndLetterHints+AuditInteraction67/67 (the first full-suite run had 5 failures, 3 of them timeouts, while another session shared the emulator; both classes passed on rerun)🤖 Generated with Claude Code