-
Notifications
You must be signed in to change notification settings - Fork 71
Firngrod/improved same half logic #1420
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
Firngrod/improved same half logic #1420
Conversation
They sound fine! :-) |
|
Do any edge cases need to be considered? I have thought about the following, and figured it is actually the desired behavior:
|
kareltucek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are up to it, then please do refactor the predicate part.
Otherwise, let me know and we can merge it as is.
Yes, you are correct, the first key would go secondary and the two next keys would go primary with mod applied, even though the first one was from the same half. |
|
I think it actually is the correct and desired behavior the way it is :). Just took a few minutes to realize that there is nothing strange about it and that it definitely isn't expected to be a multimod scenario. |
|
I see it like if someone asked if you had considered that they new wooden wrist rest smelled differently from the rubber one. Well, yes it does, it's not really a feature that was aimed for, but it is to be expected, and no one was expected to start actively sniffing it. |
|
Once the other branch merges, I will rebase this one and start working on the changes. |
…disallowing activations from same half
… expressing very explicitly that while one excludes the other, both can be false
2937784 to
3ba0d9b
Compare
|
Baked the predicated check into the search functions. |
|
Alright, let's merge this! Would you write a changelog entry? (A couple of brief bullet points to be shown in the release notes about all your changes to secondary roles so far. Just post it here or anywhere.) |
This improves upon the same half secondary logic in that it no longer actively triggers primary from same half activations, but rather just prevents same half keys from triggering secondary role.
While there are a number of edge case changes from this, none are what I would call bugs, and I think the benefits outweigh the costs.
Benefits:
Arguably negative changes are mainly to do with the timing aspect. One can type out entire key sequences on the same half while a secondary role key is being held with nothing happening before the key is released, which is sort of counter-intuitive, but only actually ever happens if one is determined on testing it. Otherwise, it does ever so slightly the timing of application of some keys, but it's nothing next to just the fact of using Secondary Roles.