Skip to content

refactor!: migrate to KeyboardMode for layout modes - #19

Merged
albinpk merged 2 commits into
mainfrom
dev
Jul 3, 2025
Merged

refactor!: migrate to KeyboardMode for layout modes#19
albinpk merged 2 commits into
mainfrom
dev

Conversation

@albinpk

@albinpk albinpk commented Jul 3, 2025

Copy link
Copy Markdown
Owner

Description

This PR introduces a breaking change by replacing the Map<String, List<KeyboardRow>> structure in KeyboardLayout with a new Map<String, KeyboardMode> format. This provides a more flexible and future-proof abstraction for defining layout modes, enabling advanced configurations per mode.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@albinpk
albinpk merged commit 436ffd1 into main Jul 3, 2025
10 checks passed
@albinpk
albinpk deleted the dev branch July 3, 2025 17:03
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