forked from kofal.net/zmk
fix momentary layer bug when top layer is not &trans
Key release events released keys on the wrong layer if the 'top layer' was not &trans above the &mo key. base <&mo 1> layer 1 <&kp B> This was caused by overwriting `zmk_keymap_active_behavior_layer[position]` after the &mo key was handled.
This commit is contained in:
committed by
Pete Johanson
parent
2871dca9bf
commit
e48a6b659c
@@ -0,0 +1,6 @@
|
||||
mo_pressed: position 1 layer 1
|
||||
mo_pressed: position 0 layer 2
|
||||
kp_pressed: usage_page 0x07 keycode 0x05 mods 0x00
|
||||
kp_released: usage_page 0x07 keycode 0x05 mods 0x00
|
||||
mo_released: position 0 layer 2
|
||||
mo_released: position 1 layer 1
|
||||
Reference in New Issue
Block a user