Skip to content

feat: international keyboard layout support for paste#116

Open
MichaelRyom wants to merge 1 commit intosipeed:mainfrom
MichaelRyom:upstream/feat-keyboard-layouts
Open

feat: international keyboard layout support for paste#116
MichaelRyom wants to merge 1 commit intosipeed:mainfrom
MichaelRyom:upstream/feat-keyboard-layouts

Conversation

@MichaelRyom
Copy link

Replace ASCII-only CharCodes paste with layout-aware system supporting 76 keyboard layouts (US, UK, German, French, Nordic, Cyrillic, Arabic, Greek, Hebrew, Georgian, Armenian, Thai, Vietnamese, and more).

Changes:

  • Add layouts.generated.ts with 76 XKB-derived layout maps
  • Add layouts.ts with browser Keyboard API auto-detection and event-based learning of character mappings
  • Replace CharCodes-based paste with layout-aware pasteText() using modifier-first key sequence for Windows compatibility
  • Add targetKeyboardLayout and pasteSpeed storage/atoms for future settings UI
  • Add learnFromKeyEvent() to keyboard handler to improve auto-detection accuracy over time

Replace ASCII-only CharCodes paste with layout-aware system supporting
76 keyboard layouts (US, UK, German, French, Nordic, Cyrillic, Arabic,
Greek, Hebrew, Georgian, Armenian, Thai, Vietnamese, and more).

Changes:
- Add layouts.generated.ts with 76 XKB-derived layout maps
- Add layouts.ts with browser Keyboard API auto-detection and
  event-based learning of character mappings
- Replace CharCodes-based paste with layout-aware pasteText()
  using modifier-first key sequence for Windows compatibility
- Add targetKeyboardLayout and pasteSpeed storage/atoms for
  future settings UI
- Add learnFromKeyEvent() to keyboard handler to improve
  auto-detection accuracy over time
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