Skip to content

1.1.2

Choose a tag to compare

@xmannv xmannv released this 18 Dec 08:53
· 257 commits to main since this release

feat: Add QWERTZ/AZERTY keyboard layout support

  • Add KeyCodeToCharacter.swift: Maps physical macOS key codes to QWERTY characters

    • Ensures Vietnamese typing works correctly regardless of keyboard layout
    • Uses physical key position (keyCode) instead of layout-dependent characters
  • Update KeyboardEventHandler.swift:

    • Replace event.charactersIgnoringModifiers with KeyCodeToCharacter
    • Add debug log marker '(QWERTY)' for easier troubleshooting
  • Add KeyCodeToCharacterTests.swift: Unit tests for key code mapping

  • Add QWERTZ_SUPPORT.md: Documentation for multi-layout support

Supported layouts:

  • QWERTY (US/UK/International)
  • QWERTZ (German, Swiss, Austrian)
  • AZERTY (French, Belgian)
  • Other layouts with same physical layout