-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Sticky keys: fix multiple sticky keys on the same key position active #508
Comments
okke-formsma
added a commit
to okke-formsma/zmk
that referenced
this issue
Feb 7, 2021
This fixes a bug with overlapping sticky keys when the same key positions on multiple layers contain different sticky keys. This also fixes the case when a MT has a sticky key for hold and a different sticky key for the tap behavior. Fixes zmkfirmware#508
okke-formsma
added a commit
to okke-formsma/zmk
that referenced
this issue
Feb 7, 2021
This fixes a bug with overlapping sticky keys when the same key positions on multiple layers contain different sticky keys. This also fixes the case when a MT has a sticky key for hold and a different sticky key for the tap behavior. Fixes zmkfirmware#508
okke-formsma
added a commit
to okke-formsma/zmk
that referenced
this issue
Feb 7, 2021
This fixes a bug with overlapping sticky keys when the same key positions on multiple layers contain different sticky keys. This also fixes the case when a MT has a sticky key for hold and a different sticky key for the tap behavior. Fixes zmkfirmware#508
okke-formsma
added a commit
to okke-formsma/zmk
that referenced
this issue
Feb 7, 2021
This fixes a bug with overlapping sticky keys when the same key positions on multiple layers contain different sticky keys. This also fixes the case when a MT has a sticky key for hold and a different sticky key for the tap behavior. Fixes zmkfirmware#508
okke-formsma
added a commit
to okke-formsma/zmk
that referenced
this issue
Feb 10, 2021
This fixes a bug with overlapping sticky keys when the same key positions on multiple layers contain different sticky keys. This also fixes the case when a MT has a sticky key for hold and a different sticky key for the tap behavior. Fixes zmkfirmware#508
okke-formsma
added a commit
to okke-formsma/zmk
that referenced
this issue
Feb 16, 2021
This fixes a bug with overlapping sticky keys when the same key positions on multiple layers contain different sticky keys. This also fixes the case when a MT has a sticky key for hold and a different sticky key for the tap behavior. Fixes zmkfirmware#508
okke-formsma
added a commit
to okke-formsma/zmk
that referenced
this issue
Feb 16, 2021
This fixes a bug with overlapping sticky keys when the same key positions on multiple layers contain different sticky keys. This also fixes the case when a MT has a sticky key for hold and a different sticky key for the tap behavior. Fixes zmkfirmware#508
okke-formsma
added a commit
to okke-formsma/zmk
that referenced
this issue
Feb 19, 2021
This fixes a bug with overlapping sticky keys when the same key positions on multiple layers contain different sticky keys. This also fixes the case when a MT has a sticky key for hold and a different sticky key for the tap behavior. Fixes zmkfirmware#508
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
expected result:
actual result:
This is caused by the sticky key being indexed by position only. The second sticky key replaces the first one.
Tracking the active layer is not enough, because a hold-tap could contain different sticky keys on both the hold and tap.
A possible solution is to track an "event trace id* or something similar, which is a unique ID tracked through all events starting from the key-position-changed all the way to key-code-changed. This would also simplify this ugly code:
into this:
@innovaker could you assign this to me, and add the bug label?
The text was updated successfully, but these errors were encountered: