You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm still getting stuck modifiers with my keymap on the Planck, piemod.
I have #define PREVENT_STUCK_MODIFIERS in my config.h. Despite that, my Ctrl, Alt, and Meta keys are getting stuck on layer changes.
Two examples:
Actual Behavior
Holding A will create a temporary arrow layer. If I want to move by word in a text editor, I will press and hold Ctrl and A, then tap S and T to move left and right. This works fine. However, upon releasing both Ctrl and A, the former remains activated (stuck), despite the layer change (back to the default layer).
Expected Behavior
As above, but after releasing A, Ctrl should be disabled.
Actual Behavior
Pressing and holding E will create a temporary number layer. I use Meta and a number to switch desktops in i3wm. To switch to desktop 1, I press and hold Meta + E, then tap W (which acts as 1 on the layer). This also works fine. However, upon releasing Meta and E, the former is stuck as active. Thus, if I happen to press L after a desktop switch, I activate i3-lock and lock my desktop (which is bound to Meta + L).
Expected Behavior
After letting go of E, Meta should not be active. Pressing L after the layer is deactivated should just output an l, and not Meta + L.
Code
For the above, the following creates the momentary layers in my keymap:
[1] = ACTION_LAYER_TAP_KEY(1, KC_A), // FN1 = Momentary Arrow layer on A.
[3] = ACTION_LAYER_TAP_KEY(3, KC_E), // FN3 = Momentary numbEr layer on E.
These functions are referenced on the default layer:
Further Info
The issue is more pronounced on my Plancks than on my Let's Splits. It happens consistently on the Planck, but only erratically on a Let's Split. My guess is this is because of latency on the Let's Split, but I'm not sure.
The text was updated successfully, but these errors were encountered:
Have you tried using KC_TRNS instead of KC_NO in the spots you have mods at on the higher layers? This should allow the mods' key-up events to be sent.
I'm still getting stuck modifiers with my keymap on the Planck, piemod.
I have
#define PREVENT_STUCK_MODIFIERS
in myconfig.h
. Despite that, my Ctrl, Alt, and Meta keys are getting stuck on layer changes.Two examples:
Actual Behavior
Holding A will create a temporary arrow layer. If I want to move by word in a text editor, I will press and hold Ctrl and A, then tap S and T to move left and right. This works fine. However, upon releasing both Ctrl and A, the former remains activated (stuck), despite the layer change (back to the default layer).
Expected Behavior
As above, but after releasing A, Ctrl should be disabled.
Actual Behavior
Pressing and holding E will create a temporary number layer. I use Meta and a number to switch desktops in
i3wm
. To switch to desktop 1, I press and hold Meta + E, then tap W (which acts as 1 on the layer). This also works fine. However, upon releasing Meta and E, the former is stuck as active. Thus, if I happen to press L after a desktop switch, I activatei3-lock
and lock my desktop (which is bound to Meta + L).Expected Behavior
After letting go of E, Meta should not be active. Pressing L after the layer is deactivated should just output an l, and not Meta + L.
Code
For the above, the following creates the momentary layers in my keymap:
These functions are referenced on the default layer:
Further Info
The issue is more pronounced on my Plancks than on my Let's Splits. It happens consistently on the Planck, but only erratically on a Let's Split. My guess is this is because of latency on the Let's Split, but I'm not sure.
The text was updated successfully, but these errors were encountered: