Skip to content

Fix(keylayout): don’t append actions twice for a given key/key_name combination #211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

notpushkin
Copy link

Currently, keylayout generator outputs an action twice if you specify one char twice on the same key. (This is a weird corner case indeed! I’m using this as a hack to make sure level 4 chars don’t get “upgraded” to level 3, but it might also have more proper use cases.) This patch adds a check for that, and skips extraneous action copies.

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