Skip to content

feat: add Spanish (ISO) keyboard layout support #60

@NakaokaRei

Description

@NakaokaRei

Overview

Add support for the Spanish keyboard layout (ISO physical keyboard).

Major differences from US:

Char US Spanish
`;` `;` (0x29) Shift+`,`
`:` Shift+`;` Shift+`.`
`'` `'` (0x27) `'` key (different position)
`@` Shift+2 Option+2
`#` Shift+3 Option+3
`[` `[` (0x21) Option+`[`
`]` `]` (0x1E) Option+`]`
`{` Shift+`[` Option+`{`
`}` Shift+`]` Option+`}`
`ñ` N/A Dedicated key (where `;` is on US)

Notes

  • Has dedicated key for ñ
  • Many symbols require Option key
  • Accent characters (á, é, í, ó, ú) via dead key combinations

Tasks

  • Add .spanish case to KeyboardLayout
  • Handle Option key modifier in CharacterKeyMapping
  • Implement Spanish character mapping
  • Add tests
  • Update README

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions