Skip to content

Make keyboard shortcuts layout-independent - #205

Merged
aminought merged 1 commit into
masterfrom
codex/layout-independent-shortcuts
Sep 12, 2026
Merged

aminought merged 1 commit into
masterfrom
codex/layout-independent-shortcuts

Conversation

@aminought

Copy link
Copy Markdown
Owner

Summary

  • derive letter and writing-system shortcut keys from KeyboardEvent.code so shortcuts follow the physical key across layouts
  • preserve matching by KeyboardEvent.key for shortcuts already saved in a layout-dependent form
  • document layout-independent sidebar and web-panel shortcuts

Testing

  • npx.cmd --no-install eslint src/second_sidebar/controllers/shortcuts.mjs src/second_sidebar/utils/keyboard.mjs
  • npx.cmd --no-install prettier --check README.md src/second_sidebar/controllers/shortcuts.mjs src/second_sidebar/utils/keyboard.mjs
  • git diff --check origin/master...HEAD
  • 11 synthetic keyboard-mapping cases
  • installed in the stable Firefox 155.0.1 test profile on Windows; startup verification passed

@aminought
aminought merged commit 01352eb into master Sep 12, 2026
3 checks passed
@aminought
aminought deleted the codex/layout-independent-shortcuts branch September 13, 2026 09:17
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