Skip to content

QWERTY テンプレートを新キータイプに統一し数字・記号配列を追加 / Unify QWERTY templates and add number/symbol layouts - #1302

Open
KazumaProject wants to merge 1 commit into
devfrom
codex/qwerty-templates
Open

KazumaProject wants to merge 1 commit into
devfrom
codex/qwerty-templates

Conversation

@KazumaProject

@KazumaProject KazumaProject commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

日本語

QWERTY テンプレートの文字キーを新しいカスタムキータイプ QWERTY に変更し、タップ・プレビュー・長押し候補の選択を既存の QWERTY キーと共通の処理に統一しました。

  • 標準 QWERTY の共通定義から通常・Shift 時の出力と長押し候補を生成します。アクセント付き大文字など、ASCII の大文字変換だけでは再現できない候補も保持します。
  • 独立して適用・保存できる「QWERTY(数字)」「QWERTY(記号)」を追加しました。標準の英語 QWERTY 数字・記号モードの文字順と候補を使用します。
  • 英字テンプレートの配置・既存キー ID・機能キーを維持します。保存済み配列への自動変換は行わず、テンプレート再適用時に新しいキーを使用します。
  • 追加テンプレート名を日本語・英語で用意しました。

検証

  • :custom_keyboard:testDebugUnitTest:268 件成功。
  • アプリのテンプレート適用・編集・保存/再読込・バックアップ往復、既存 QWERTY エディター/バックアップの関連テスト:9 件成功。保存済み通常キーの維持も確認。
  • Lite Standard Debug 本体・AndroidTest APK のビルド成功。
  • Android 35 / arm64 エミュレーター、分離したアプリ ID の Lite Debug 実 IME で、3テンプレートを画面から選択・保存して入力確認。長押し候補のスライド選択、キャンセル、Shift の大文字候補、Caps Lock の継続入力を確認(外部の検証用 instrumentation:1 件成功)。
  • 実機および Full/Release ビルドは未検証。

English

Convert the QWERTY template's character keys to the configurable QWERTY key type, reusing its existing tap, preview, and long-press selection behavior.

  • Generate normal and shifted outputs and alternatives from the standard QWERTY definitions, including explicitly defined uppercase accented characters.
  • Add independent QWERTY (Numbers) and QWERTY (Symbols) templates using the standard English QWERTY mode character order and alternatives.
  • Preserve the alphabet template's placements, existing key IDs, and function keys. Saved layouts are retained; the new keys are used when a template is applied again.
  • Provide Japanese and English names for the new templates.

Validation

  • Custom keyboard module: 268 tests passed.
  • Relevant app tests: 9 passed, covering template application, editing, persistence, backup round trips, existing QWERTY editing/backup behavior, and preservation of saved normal keys.
  • Lite Standard Debug app and AndroidTest APK builds passed.
  • Android 35 arm64 emulator, isolated Lite Debug application ID, actual IME: selected and saved all three templates through the UI, then verified taps, sliding long-press selection, cancellation, shifted alternatives, and repeated Caps Lock input (1 external instrumentation test passed).
  • Physical devices and Full/Release builds were not tested.

スクリーンショット / Screenshots

Android 35 エミュレーター上の実装画面です。画像・APK・ログ・検証用スクリプトはコミットしていません。
Captured from the implemented app on the Android 35 emulator. Screenshots, APKs, logs, and temporary verification scripts are not committed.

通常表示 / Normal keys 通常タップ時の拡大表示 / Tap preview
Normal QWERTY template QWERTY tap preview
テンプレート一覧 / Templates 英字の長押し / Alphabet alternatives Caps Lock
Template selection Alphabet long-press alternatives Caps Lock input
数字と長押し候補 / Numbers and alternatives 記号と長押し候補 / Symbols and alternatives
QWERTY number template QWERTY symbol template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant